Mike Bostock

Results 751 comments of Mike Bostock

There is not yet one in d3-array, but I’ve proposed there should be.

For now you’ll need to roll your own format as described here: https://github.com/d3/d3-time-format/blob/main/README.md#d3-time-format Maybe an alternative would be to extend the locale definition in d3-time-format to support the needed shorthands,...

*scale*.rangeRound isn’t intended to be used as a getter; it’s only supposed to be used as a setter. This is an oversight.

Here’s a reduction: ```js var voronoi = d3.voronoi(); voronoi([ [399.999779, 0], [399.999780, 0] ]); ``` In short the problem is [the rounding applied during construction](https://github.com/d3/d3-voronoi/blob/v1.1.2/src/voronoi.js#L12) isn’t enough to prevent certain...

> Does d3-delaunay allow for a mapping from the Voronoi polygons to data points Yes. Cell *i* in the Voronoi diagram corresponds to input point *i*.

If the desired radius is too big to fit, reduce it to fit; [arcs](https://github.com/d3/d3-shape#arcs) use a similar strategy with [_arc_.cornerRadius](https://github.com/d3/d3-shape#arc_cornerRadius) as shown in the [arc corners animation](http://bl.ocks.org/mbostock/b7671cb38efdfa5da3af).

You’re still using D3 3.x; the flickering has been fixed in 4.0.

Agree. We should add a 6-month interval to ticks generation.