Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 8 Maps

Public visualization

Assignment 8 Maps

0 stars3🌍 Public
445.saiful@gmail.com
Last edited Apr 13, 2026
Created on Apr 12, 2026
Forked from D3 Starter

This choropleth map displays global GDP distribution, coloring countries by their Gross Domestic Product in billions of USD using a sequential green color scale. Built with D3 v7, it loads TopoJSON world atlas data and renders it as SVG paths via `d3.geoPath` with a Natural Earth projection. A threshold-based color scale (`d3.scaleThreshold`) maps GDP ranges to colors, while hover interactions trigger tooltips showing country names and GDP values. A legend explains the color bins, and gray indicates missing data.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed