Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a map with D3.js!

Public visualization

Fork of Let's make a map with D3.js!

0 stars0🌍 Public
RRyan Rong
Last edited Mar 3, 2021
Created on Mar 3, 2021

This example displays a natural Earth projection of the world map, with continents rendered as light green shapes on a blue spherical background. Using D3.js v5 and the topojson library, it loads geographic data from the World Atlas repository via a JSON request. The `geoPath` and `geoNaturalEarth1` APIs generate the projected paths, while SVG elements are selected and appended to the canvas for rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed