Mike Bostock

Results 751 comments of Mike Bostock

Very cool! Will review soon.

I propose this is a top-level Plot.plot option, i.e., ```js Plot.plot({ locale: "de", marks: … }) ``` The plot should then inherit this locale rather than the default "en-US". This...

And more specifically: let’s _not_ use global mutation, _e.g._ Plot.setLocale(*locale*), since this makes it hard to support multiple locales on the page and introduces ordering problems where the behavior of...

I like the notebook, but I’m tempted to make the README description more hand-wavy. I feel like either we explicit document the logic in pseudocode, or we just leave it...

> 2 scales (facet name to x, facet name to y) Actually, that’s a thought. Maybe two scales *fx* and *fy* makes the most sense here. But I’d have two...

Not sure how this will fit into our existing Plot.select syntax. Currently you do something like this: ```js Plot.select({x: "max"}, options) ``` We could let you pass the _k_ as...

Related #139 for a transform that is useful for labeling lines.

I really want an automatic algorithm for labeling scatterplots. And possibly stacked areas and other things. Something that considers only occlusion, like [@fil/occlusion](https://next.observablehq.com/@fil/occlusion), would be a great place to start.

Can we avoid getBoundingClientRect by using the same metrics approach that Plot.text uses?

> The Delaunay/Voronoi/Hull marks require x and y, and a such don't accept the result of the dodge transform. Hmm, this is a bummer. 🤔 This is the same issue...