Skip to main content
100%

Fork of Choropleth Map

✓ Published0🌍 Public
Xxyang3672
Last edited Mar 13, 2021
Created on Mar 10, 2021
Forked from Choropleth Map

This fork of a choropleth map colors countries by a numerical score from a CSV dataset, displaying the values on a natural Earth projection. The visualization uses D3 v5 with `d3.geoPath` and `d3.geoNaturalEarth1` to render the map, while a separate SVG color legend with circles and text labels indicates the color scale. Users can pan and zoom the map via D3's `d3.zoom` behavior, and hovering over a country highlights it in red and shows its name and score in a tooltip. The map data comes from TopoJSON, merged with the CSV by country codes.

AI-generated description
MIT Licensed

Similar vizzes