Skip to main content
100%

d3 Visualization Map

✓ Published1🌍 Public
JJohnPaulPagelerJr
Last edited Mar 22, 2019
Created on Feb 25, 2019
Forked from d3 Bland Canvas

This example displays a zoomable world map using a natural Earth projection, with countries colored light green and the ocean rendered as a blue sphere. Built with D3 v5 and TopoJSON, it loads country boundaries from the world-atlas dataset (50m.json) and names from 50m.tsv. The map supports interactive pan and zoom via d3.zoom, while d3.geoPath and geoNaturalEarth1 handle geographic rendering. Countries highlight red on hover, with tooltips showing country names. The visualization is rendered as SVG, with the sphere and country paths generated from the projected GeoJSON features.

AI-generated description
MIT Licensed

Similar vizzes