Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

first_step_D3.js_Master

Public visualization

Viewing a saved revision (read-only)

fefdb107a2e441528a63f92757da9b46

first_step_D3.js_Master

0 stars0🌍 Public
Bbouzaida
Last edited Jan 13, 2021
Created on Jan 8, 2021

This example shows a world map colored by each country’s economy classification, using a natural Earth projection rendered as SVG. Users can pan and zoom the map via d3.zoom. The visualization loads TopoJSON and TSV data from the world-atlas package, joins them by ISO country codes, and maps economy values to a d3.scaleOrdinal with a d3.schemeSpectral range. Countries display tooltips with their names on hover.

AI-generated description