Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Basic geo path

Public visualization

Viewing a saved revision (read-only)

91436d5f35284313abf3607b955a780c

Basic geo path

0 stars0🌍 Public
NNita
Last edited Aug 28, 2021
Created on Aug 27, 2021
Forked from Map_2

This example displays a world map using an equal-earth projection, with country boundaries drawn as SVG paths. It loads GeoJSON country shapes and CSV population growth data, computing a color scale based on the 2020 population growth rates for each country. The code uses d3.json, d3.csv, d3.geoEqualEarth, d3.geoPath, and d3.scaleLinear, though the population data is processed but not yet applied to the map. The visualization renders static gray country outlines without color encoding, demonstrating basic D3 v6 geographic path setup.

AI-generated description

A demonstration of how to start using D3 version 6.