Mike Bostock
Mike Bostock
Yep, this parser uses the generic numberRe, which doesn’t allow a leading negative sign (since that doesn’t match sense for most other fields). We should consider adding it. https://github.com/d3/d3-time-format/blob/9632a7e2550aeeb6d821ed7ca4ca57dc2b81e6b9/src/locale.js#L383
I’ve posted [a reproduction](http://bl.ocks.org/mbostock/3e30aea7d62c867aeab896671c73544c) that gives a better sense of what’s going on: [](http://bl.ocks.org/mbostock/3e30aea7d62c867aeab896671c73544c) The problem is that the top line crosses over the bottom line. My guess is that...
Another way of thinking about this is that d3.curveMonotoneX preserves monotonicity in _y_ (given monotonicity in _x_). So if you take the problematic series and shift it to the baseline...
What are you referring to as the “first” solution? The new monotone curve type? That wouldn’t change your code much; you’d just replace d3.curveMonotoneX with d3.curveMonotoneDeltaX or some such. (The...
Related mbostock/d3#1811. Fixes #7.
The `%Y` specifier is defined as a four-digit year so that you can do things like `%Y%m%d` and parse digits with no separator. ```js d3.utcParse("%Y%m%d")("20200101") // 2020-01-01T00:00:00.000Z ``` If we...
It appears [the strftime npm package](https://www.npmjs.com/package/strftime) uses `%o` for ordinal day-of-month, too. Yay.
This would imply that you couldn’t re-select the appended nodes until the transition starts, but that seems like a reasonable compromise.
The problem is that *transition*.style on the transform style uses [d3.interpolateTransformCss](https://github.com/d3/d3-interpolate/blob/master/README.md#interpolateTransformCss), which computes the normalized form of the transform style property using an off-screen DIV element; see [parse.js](https://github.com/d3/d3-interpolate/blob/v1.1.5/src/transform/parse.js#L8-L16). Thus the...
The typical way of doing this is [bilinear interpolation](https://en.wikipedia.org/wiki/Bilinear_interpolation), which you can certainly do using D3. However, if you’re specifically looking to make a bivariate choropleth, I suggest you use...