This page lists significant changes introduced in releases of d3.geomap.
drawfunction now only accepts a single argument, the map selection.
forEachinstead of ES6
for ofto avoid using polyfill to support older browsers.
In an effort to simplify the code and make it more readably and maintainable, I refactored the library internally. The public facing API stayed mostly the same, except for the changes listed below.
svgaccessor method into an attribute in d3.geomap.
privateattributes from d3.geomap.choropleth.
valueScaleaccessors to d3.geomap.choropleth.
extendattributes to d3.geomap.choropleth.
legendaccessor can now be called with an object having width and height attributes to set the legend dimensions.