Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js!

Public visualization

Let's make a map with D3.js!

0 stars0🌍 Public
Xxhoumba
Last edited Mar 12, 2020
Created on Mar 12, 2020

A world map is rendered using D3.js, with countries filled in light green against a blue sphere. The example demonstrates a basic geographic visualization workflow, loading TopoJSON data from the World Atlas and converting it to GeoJSON features. The code uses `d3.json`, `d3.geoPath`, `d3.geoNaturalEarth1`, and the TopoJSON `feature` method to project and draw the paths as SVG elements. The map is static, showing only country boundaries and the projected Earth sphere.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed