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
Ffernandotsurukawa
Last edited Oct 14, 2019
Created on Oct 14, 2019

This example visualizes a world map with dark blue oceans and light green countries, using a natural Earth projection. It renders SVG paths for the sphere and country borders, with semi-transparent black strokes on the countries. The code uses D3 v5 functions like `d3.select`, `d3.json`, `d3.geoPath`, and `d3.geoNaturalEarth1`, alongside the topojson library’s `feature` function to process GeoJSON data from the world-atlas package.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed