Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Cchaimmaeee
Last edited Nov 26, 2020
Created on Nov 26, 2020

This example shows a world map rendered as green SVG paths with black borders on a blue background. It uses D3.js v5 to load GeoJSON data from a GitHub repository and project it with a Natural Earth projection. The map is drawn by applying `d3.geoPath` with `geoNaturalEarth1` to each feature, while TopoJSON's `feature` function prepares the data. Styling is handled via CSS, and the visualization updates automatically once the remote data loads.

AI-generated description
MIT Licensed

Similar vizzes