Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js!

Public visualization

Viewing a saved revision (read-only)

17381b82e5b34cbc8affa2fb0eeb2416

Let's make a map with D3.js!

0 stars1🌍 Public
Cchaimmaeee
Last edited Nov 26, 2020
Created on Nov 26, 2020

This example generates an orthographic map of world features from a JSON dataset, rendering each geographic feature as a green SVG path with black stroke outlines. The code uses D3.js version 5’s `geoPath` and `geoOrthographic` projections, along with the topojson library’s `feature` function to convert the remote GeoJSON data into drawable paths. The map is displayed in a 900-by-500 pixel SVG element, with the projection offering a globe-like perspective.

AI-generated description