Skip to main content
100%

World Map with D3.js

✓ Published0🌍 Public
Ssaipaidipalli
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from D3 Starter

This example displays a world map rendered as an SVG using D3.js and the Natural Earth projection. It loads GeoJSON data from a local file and draws each country as a path with a light gray fill and white borders. The code uses `d3.geoNaturalEarth1` for projection, `d3.geoPath` to generate the paths, and `d3.json` to fetch the `world.geojson` data file.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes