Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Choropleth Map

Public visualization

Viewing a saved revision (read-only)

e162633cd7c5446d91034132faca85c4

Fork of Choropleth Map

0 stars0🌍 Public
AAlisikandar20
Last edited Feb 1, 2023
Created on Feb 1, 2023
Forked from Choropleth Map

This choropleth map colors world countries according to their economy category using a spectral color scale. The visualization uses D3 v5’s `select`, `geoPath`, and `scaleOrdinal` APIs, with a `topojson` loader for geographic data from the world-atlas package. The map includes a custom legend built with the `colorLegend` module, and supports zooming via `d3.zoom`, while country boundaries are rendered as SVG paths with hover highlighting.

AI-generated description