Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
AArriannePandaraoan
Last edited Apr 22, 2020
Created on Apr 22, 2020

This example displays a world map using an orthographic projection, rendering countries as light-green SVG paths against a dark blue background. The map is built entirely with D3.js v5 and TopoJSON, loading geographic data from the world-atlas dataset. The code uses `d3.geoOrthographic` and `d3.geoPath` to project and trace country boundaries, while `topojson.feature` extracts the geometries for rendering.

AI-generated description
MIT Licensed

Similar vizzes