Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a map with D3.js!

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed