Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Cchaimmaeee
Last edited Nov 26, 2020
Created on Nov 26, 2020

This example displays a natural Earth projection map of the world, rendered as a single blue sphere with country boundaries drawn in light green. The visualization first appends a sphere path using `d3.geoPath` with a `d3.geoNaturalEarth1` projection, then loads GeoJSON data from a remote URL via `d3.json` and converts it to GeoJSON features using `topojson.feature`. The map is rendered as SVG within an HTML page, with styling for the sphere and country fills defined in an external stylesheet.

AI-generated description
MIT Licensed

Similar vizzes