Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
MMike Henderson
Last edited Jul 3, 2019
Created on Jul 3, 2019

A world map rendered with D3.js displays country boundaries filled in light green on a light blue sphere, using natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath`. Hovering highlights a country in red with a tooltip showing its name from the World Atlas TSV data. The map supports zoom and pan through `d3.zoom`, applying transforms to the SVG group. TopoJSON from world-atlas provides geometry, processed with `topojson.feature`. The visualization demonstrates combining geographic data, interactive controls, and CSS styling in an SVG context.

AI-generated description
MIT Licensed

Similar vizzes