Circles on a Map
✓ Published0🌍 Public
A choropleth-style map of global population for 2020, where each country is positioned using the D3 `geoNaturalEarth1` projection and drawn with `d3.geoPath`. Circle markers, sized with a `d3.scaleSqrt` legend, indicate relative population per country, and users can pan and zoom via `d3.zoom`. The visualization also includes a color legend built with the `colorLegend` module and a size legend using `tickFormat`, with data loaded from a CSV and a TopoJSON world atlas.
AI-generated descriptionVisualizing population by country using circles on a map! The area of each circle corresponds to the population of the country it represents. You can also pan & zoom, and hover over each country for more information.
MIT Licensed