Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of choropleth map

Public visualization

Viewing a saved revision (read-only)

3ce4f9863b06442498cf3b3bca554e74

Fork of choropleth map

0 stars0🌍 Public
Aakshayms0
Last edited Nov 4, 2022
Created on Nov 4, 2022
Forked from choropleth map

This example displays a choropleth map of the world, coloring each country according to its economic classification using a spectral color scale. A legend with colored circles and labels explains the mapping. The visualization uses d3.geoPath with a geoNaturalEarth1 projection to render the map from TopoJSON data, and d3.scaleOrdinal with schemeSpectral for the color encoding. Countries highlight in red on hover, and the map supports zooming via d3.zoom.

AI-generated description