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
Ccledevoute
Last edited Jun 24, 2020
Created on Jun 24, 2020

This example visualizes world countries as a natural Earth projection map, with light green landmasses on a sky blue sphere. It loads geographic data from the world-atlas TopoJSON dataset and converts it into GeoJSON features using the `feature` function. The map is rendered with D3’s `geoNaturalEarth1` projection, `geoPath` for path generation, and SVG paths for each country, including a sphere outline. Styling applies via CSS classes for the sphere and country fills, with semi-transparent black country borders.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed