Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Choropleth Map

Public visualization

Viewing a saved revision (read-only)

e75fda2f0f4e4a2daa85d50b24d2f6f8

Fork of Choropleth Map

0 stars0🌍 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