Skip to main content
100%

Let's make a map with D3.js!

✓ Published1🌍 Public
Hhugomell
Last edited Jul 31, 2020
Created on Jul 31, 2020

This example shows a map of the world’s countries drawn as a blue sphere with light green landmasses and subtle black borders. It uses D3.js’s `geoNaturalEarth1` projection and `geoPath` to render the globe, with country boundaries from the world-atlas TopoJSON dataset. The page loads topographic data via `topojson.feature`, appends a path for the sphere, then binds country features to SVG paths. The visualization demonstrates the minimal structure of a Vizhub project with D3 v5 and SVG rendering.

AI-generated description

A Minimal Example illustrating the basic structure of a Vizhub visualization.

MIT Licensed

Similar vizzes