observablehq / plot

A concise API for exploratory data visualization implementing a layered grammar of graphics
https://observablehq.com/plot/
ISC License
4.4k stars 176 forks source link

Plot.geo fill property with and without projection #2127

Closed nshiab closed 2 months ago

nshiab commented 2 months ago

Hello!

All the code and screenshots come from this notebook: https://observablehq.com/d/e20aca7d9cd89a5d

If I plot a geojson of oceans without a projection, I can fill the oceans with a colour.

Screenshot 2024-08-08 at 3 36 00 PM

But if I add a projection, then everything gets filled, not just the oceans. 🤔

Screenshot 2024-08-08 at 3 37 50 PM

Maybe I'm not understanding something, but this feels like a bug...

Thank you for your time and your amazing work!