Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth Map

Public visualization

Viewing a saved revision (read-only)

20970f3bf18a48d385438d157bd7059e

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