Skip to main content
100%

World_Map_ICE_8

✓ Published2🌍 Public
CChandrashekharRamamuthi
Last edited Apr 13, 2023
Created on Apr 12, 2023
Forked from D3 Starter

This example displays an interactive world map using the Eckert III projection, rendered as an SVG with React and D3 v5. It fetches geographic data from the world-atlas TopoJSON file and uses `d3.geoNaturalEarth1` with `fitSize` to project the map, while `d3.geoPath` draws the country boundaries. The code also includes support for switching to a U.S. counties view, using `d3.geoAlbersUsa` and the us-atlas dataset, though only the world map is activated by default.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes