Skip to main content
100%

Let's make a map with D3.js

✓ Published1🌍 Public
HHe Jianfeng
Last edited Apr 8, 2021
Created on Apr 8, 2021

This example shows a world map rendered as an SVG using D3.js with a natural Earth projection. The map displays country boundaries in light green with subtle black strokes against a blue sphere background. It loads GeoJSON data from the world-atlas TopoJSON dataset and converts it using topojson.feature. The visualization demonstrates D3’s geoPath generator to project geographic coordinates, with selectable projection types commented in the code for experimentation.

AI-generated description
MIT Licensed

Similar vizzes