Skip to main content
100%

Let's make a map with D3.js!

✓ Published0🌍 Public
XXenos Panagiotis
Last edited May 21, 2020
Created on May 15, 2020
Forked from Hello VizHub

This example shows how to create a world map using D3.js and TopoJSON, displaying countries as light green shapes on a blue sphere. The code loads world atlas data from the `world-atlas` package, converts TopoJSON features into GeoJSON using `topojson.feature`, and renders them with `d3.geoPath` and a `d3.geoNaturalEarth1` projection. Countries change color to green on hover, and the SVG includes a styled sphere background.

AI-generated description
MIT Licensed

Similar vizzes