Skip to main content
100%

fresh block

✓ Published0🌍 Public
GGerardoFurtado
Last edited Jun 9, 2020
Created on Jun 9, 2020

A map of world regions renders as a choropleth using a Mercator projection, with each country or territory filled by a distinct categorical color. The visualization loads a TopoJSON file and converts it to GeoJSON with the `topojson.feature` API, then fits the projection to the data using `projection.fitSize`. D3 v5’s `d3.geoPath` generates the SVG paths, while `d3.scaleOrdinal` with `d3.schemeCategory10` assigns unique colors to each feature.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes