- Accept iterables wherever appropriate.
- Add d3.line(x, y) shorthand.
- Add d3.area(x, y0, y1) shorthand.
- Add d3.symbol(type, size) shorthand.
This release adopts ES2015 language features such as for-of and drops support for older browsers, including IE. If you need to support pre-ES2015 environments, you should stick with d3-shape 1.x or use a transpiler.
- Adopt exact paths for imports.
- Adopt explicit files for publishing.
- Add sideEffects: false to the package.json.
- Update dependencies.