Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map with D3.js

Public visualization

World Map with D3.js

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed