Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Choropleth Map

0 stars0🌍 Public
Pprincit
Last edited Mar 29, 2020
Created on Mar 29, 2020
Forked from Choropleth Map

This example presents a choropleth map of world countries rendered as an SVG using D3 v5. It displays each country as a red-filled path on a blue sphere, with country names shown in tooltips on hover. The visualization uses `d3.geoNaturalEarth1` for the projection, `d3.geoPath` for drawing, and `d3.zoom` for panning and zooming. Data loads from TopoJSON and TSV files via the world-atlas package, with `topojson.feature` processing geographic boundaries. Hover effects change fill color to red, while the base country color is also red, with black stroke outlines.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed