Assignment 8 Maps
✓ Published3🌍 Public
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 descriptionMIT Licensed