Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

choropleth ... map

Public visualization

Viewing a saved revision (read-only)

9607c4559b8347f48c15d24576bd921e

choropleth ... map

0 stars1🌍 Public
YYanxxx447
Last edited Jan 13, 2021
Created on Jan 12, 2021

A choropleth map of world countries colored by economy type, using a spectral color scale with an interactive legend. The map displays country names and economy values on hover, with zoom and pan enabled via d3.zoom. Built with d3.geoNaturalEarth1 projection and d3.geoPath, it loads TopoJSON and TSV data from world-atlas, renders as SVG, and uses d3.scaleOrdinal to map values to colors.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.