Skip to main content
100%

d3 Choropleth Map

✓ Published1🌍 Public
Jjayjoepark
Last edited Mar 26, 2019
Created on Mar 26, 2019
Forked from d3 Choropleth Map

This d3 Choropleth Map visualizes world countries colored by their economic classification from a World Atlas dataset. It uses an SVG rendering with a natural Earth projection and a spectral color scale for the legend. The code employs `d3.geoPath`, `d3.geoNaturalEarth1`, and `topojson.feature` to process and draw the map, while `d3.scaleOrdinal` and `schemeSpectral` define the color categories. A custom legend component displays the color scale with circles and labels, and hovering a country turns it red.

AI-generated description
MIT Licensed

Similar vizzes