Mike Bostock

Results 751 comments of Mike Bostock

This is similar to a literal color channel. Perhaps the tip should ignore literal symbol channels too, since showing it again in the tip won’t help interpretation. The more idiomatic...

I’d prefer to understand these three contributions separately rather than reviewing it all in this PR. I’m going to continue the reviews of the tip & stroke PRs before looking...

I retitled this to “facet wrap” since that seems to be the more common term for this. We made an attempt in #332 and in #892 but haven’t yet landed...

Here is a new example. https://observablehq.com/@observablehq/plot-facet-wrap ![untitled (64)](https://user-images.githubusercontent.com/230541/233885877-02e244d0-f9eb-49e3-ba28-962be24d4fc7.png) ```js Plot.plot((() => { const n = 3; // number of facet columns const keys = Array.from(d3.union(industries.map((d) => d.industry))); const index =...

Hmm, this still crashes if you try to have a threshold opacity scale, which is a separate but related bug: ```js Plot.cellX(d3.range(10), {fill: "red", opacity: Plot.identity}).plot({opacity: {type: "threshold", legend: true,...

I don’t think the auto height accounts for insets. Not sure if we can do that, so this might be intended behavior.

Probably already covered by #27, but we could leave this open if there’s specifically demand for this type of labeling algorithm.

Ref. https://www.andrewheiss.com/blog/2023/06/01/geocoding-routing-openstreetmap-r/

I wonder if this should be something you specify as a scale transform rather than a mark transform? Seems handy…

Sorry, that’s an internal dashboard. But I can try to make another example for you that uses the “other” transform.