Skip to main content
100%

Lets make a map with D3.js!

✓ Published1🌍 Public
DDaniel García
Last edited Mar 23, 2020
Created on Mar 23, 2020
Forked from D3js Tutorial

A world map rendered as an SVG using D3.js v5 and TopoJSON, displaying countries in light green against a steel-blue sphere. The visualization uses a natural Earth projection via `d3.geoNaturalEarth1` and draws geographic paths with `d3.geoPath`. Country boundaries come from the world-atlas dataset at 110m resolution, loaded as JSON and converted with TopoJSON’s `feature` method. The code appends path elements for each country and the sphere, styled with CSS classes for fill and stroke.

AI-generated description
MIT Licensed

Similar vizzes