Mike Bostock

Results 751 comments of Mike Bostock

That’s really nice @Fil. I bet we could package that up into something reusable. Perhaps a clip transform where you supply a geometry channel, and it uses the geo mark...

We should consider using CSS clip-path instead of SVG, since it is now widely supported and much more convenient since you don’t need a globally unique identifier.

Maybe we could offer a Plot.geoClip render transform that you can pass GeoJSON and does this? ![Image](https://github.com/user-attachments/assets/ccb6d14f-c349-4806-89db-29cb4f60d075) ```js Plot.plot({ projection: "albers", color: {scheme: "YlGnBu"}, marks: [ Plot.density(walmarts, { x: "longitude",...

This is an issue with whatever packaging system you are using and not with Plot. We probably can’t help you debug, but good luck!

Would you expect the tip to be hidden in this case? Or do you want to use clamp instead of clip?

> the waffle geometry is computed in an initializer, after the _y_ scale has already been derived, so something that says 7.5 or 9 doesn't seem easy to implement Hmm,...

Yes. Maybe the way to think about this is: how could we add an automatic graticule/sphere when a spherical projection is in use, similar to how we can add automatic...

We have a [grid mark](https://observablehq.com/plot/marks/grid) now… if the rule mark supported spherical projections, the grid mark would automatically support them, too.

I think maybe the _lanes_ and _burndown_ approaches are (structurally) different, _i.e._, perhaps they should be done by different transforms: the _burndown_ approach will require an area mark to render,...

I think just using number.toLocaleString would be sufficient to fix this. The alternative of having cleaner quantiles sounds interesting too. Should that be opt-in, or do you think it would...