Skip to main content
100%

Fork of Let's make a map with D3.js!

✓ Published0🌍 Public
SSnapika
Last edited Mar 31, 2022
Created on Mar 31, 2022

This example displays a world map rendered as SVG paths, with countries filled in light green against a blue spherical backdrop. It uses D3.js v5’s `geoPath` and `geoNaturalEarth1` projection to generate geographic outlines from the world-atlas TopoJSON dataset. The code also loads the TopoJSON library to extract country features, then appends each path to the SVG container. The visualization demonstrates a straightforward choropleth-style map without interactivity, emphasizing the projection and vector rendering pipeline.

AI-generated description
MIT Licensed

Similar vizzes