Skip to main content
100%

Fork of Choropleth Map

✓ Published0🌍 Public
Rrpadron8
Last edited Oct 7, 2021
Created on Oct 7, 2021
Forked from Choropleth Map

This fork of a choropleth map colors countries by their economic classification using a spectral color scale, with an interactive SVG legend displaying the categories. The map uses the Natural Earth 50m dataset, loaded via the `d3.json` and `d3.tsv` functions, and renders geographic paths with `d3.geoPath`. It employs `d3.scaleOrdinal` for color mapping and `d3.zoom` for pan/zoom interactions, with hover effects highlighting countries in red.

AI-generated description
MIT Licensed

Similar vizzes