Skip to content

Releases: yaph/d3-geomap

Changes in Version 3.3.0

11 Dec 10:53
Compare
Choose a tag to compare
  • Use nightwatch.js for end to end tests and add several tests for example maps.
  • Add unitName function which tests that the property to be used as the unitId is defined, before manipulating it and returning it. Fixes issue #58.

Changes in Version 3.2.0

23 Oct 22:16
Compare
Choose a tag to compare
  • Identifier values in CSV files used for map units can now contain whitespace, see pull request.

Changes in Version 3.1.0

24 Sep 20:47
Compare
Choose a tag to compare
  • Add optional geoData property as alternative to geofile. See pull request.
  • Increase the default scale factor optimized for world map.

Changes in Version 3.0.0

11 Jun 19:33
Compare
Choose a tag to compare

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 or require.
  • Rename d3.geomap.choropleth to d3.choropleth.
  • Refer to the package as d3-geomap and to the JavaScript object as d3.geomap.
  • Remove the colorbrewer object, which provided color scales. Instead d3-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.

Changes in Version 2.0.0

19 Oct 22:45
Compare
Choose a tag to compare
  • The draw function now only accepts a single argument, the map selection.
  • Upgrade to D3 version 4.
  • Use mapshaper to create TopoJSON files. Id values are now accessed via the properties attribute of a feature object.