Skip to main content
100%

World Map with D3 Final

✓ Published0🌍 Public
TToly
Last edited Dec 31, 2022
Created on Dec 31, 2022

This interactive world map displays country boundaries and names using a natural Earth projection, with a colored sphere background and hover effects that highlight individual countries in red. Built with D3 v5 and TopoJSON, the visualization loads geographic data from the world-atlas package, combining TSV country name metadata with JSON topology data. The code uses `geoNaturalEarth1`, `geoPath`, and `zoom` for projection and panning, while SVG paths render the map with CSS styling for interactivity.

AI-generated description

Interactive Worldmap with geoNaturalEarth1 view.

Bostock: worldmap

Bostock: Dataset for title function to return country names

Reference:

MIT Licensed

Similar vizzes