Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of choropleth map

Public visualization

Viewing a saved revision (read-only)

d764461c34a1494381ebd33949f35458

Fork of choropleth map

0 stars1🌍 Public
Zzenoe
Last edited Oct 6, 2021
Created on Oct 6, 2021

This fork of a choropleth map visualizes global economic data by coloring countries according to their economy type. The map uses a natural Earth projection and displays a dynamic color scale based on the spectral scheme. Built with D3 v5 and TopoJSON, the visualization loads world atlas data from a TSV and JSON file, then projects geographic features using d3.geoPath. Users can click a country to select a specific economy value, which triggers a re-render that updates the color assignments. The SVG output supports zooming through the d3.zoom component, and hovering highlights individual countries in red.

AI-generated description