Mike Bostock

Results 751 comments of Mike Bostock

I like this idea—I needed something similar in this [recent scatterplot](https://observablehq.com/@mbostock/inequality-in-american-cities). I ended up doing a little transformation of the domain: ```js function padLinear([x0, x1], k) { const dx =...

Looks like Grunt is a replacement for Make, and I'm more than happy sticking with Make. But thank you for the suggestion.

My plan is to create a separate d3-sankey module as part of the new D3 4.0 restructuring. See [d3/d3-format](https://github.com/d3/d3-format) for an example of another D3 module.

Yep, you can swap x and y to change the orientation of the Sankey diagram. That said it might be nice for the Sankey diagram to support orientations similar to...

Related https://github.com/d3/d3-hierarchy/issues/63. I think I’d follow the approach there (and in d3-axis) and have aliases for the different orientations d3.sankeyUp, d3.sankeyDown, d3.sankeyLeft, d3.sankeyRight with the default d3.sankey = d3.sankeyRight. But,...

As of version 0.9.1 (ef0ca636b8e256a46dcab37213d0cd3913013fa4), we throw an error rather than going into an infinite loop.

I would like to measure the performance cost (e.g., when rendering a U.S. county choropleth and computing 3,243 colors), but this looks great. I’m guessing that RGB will be faster...

I agree with @waldyrious and would like to see a version that uses linear-light RGB.

I think this is probably a duplicate of #37. Personally, my inclination is to leave d3.geo.tile to operate only in pixel coordinates and not be tied to latitude & longitude;...