Skip to main content
100%

Fork of world assignment

✓ Published0🌍 Public
Nnsatyaprakash22
Last edited Mar 27, 2023
Created on Mar 27, 2023
Forked from world assignment

This visualization displays a world map using a natural Earth projection, with each country rendered as a beige SVG path outlined in black against a sky-blue background. It fetches geographic data from the world-atlas package’s countries-110m.json endpoint, then projects the features using `d3.geoPath` with `d3.geoNaturalEarth1`. The code utilizes TopoJSON’s `feature` function to extract country boundaries and appends them as SVG path elements, styled via the `.country` CSS class. The rendering is driven by React and relies on D3 v5 for all geographic transformations and SVG generation.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes