Changes in Version 3.0.0
This release introduces several changes that are backwards incompatible. On the plus side d3-geomap can now be imported via import
or require
from other npm modules. Many thanks to Dylan Praul for his substantial contributions.
- Provide a built version that other npm modules can consume with
import
orrequire
. - Rename
d3.geomap.choropleth
tod3.choropleth
. - Refer to the package as
d3-geomap
and to the JavaScript object asd3.geomap
. - Remove the
colorbrewer
object, which provided color scales. Insteadd3-scale-chromatic
, which is included in D3, can be used. - The
d3-geomap
CSS class must be added to map elements for default styling. - The TopoJSON files included in the distribution are now built from Natural Earth Vector version 4.1.0
- The downloadable zip bundle does not include the dependencies any more.
- The Rollup module bundler is now used for building the distribution.
- Upgrade to D3 version 5.