Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
LLittledevil7
Last edited Apr 24, 2020
Created on Apr 24, 2020

This example visualizes world countries on a natural Earth projection using D3.js. It renders a blue sphere outline and green country polygons as SVG paths, loaded from a TopoJSON dataset via the `world-atlas` package. The code uses `d3.geoNaturalEarth1` for the projection and `d3.geoPath` to generate path data, with `d3.json` to fetch the data and `topojson.feature` to convert it into GeoJSON features.

AI-generated description
MIT Licensed

Similar vizzes