Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 world map example with TopoJSON to GeoJSON and circular indicators

Public visualization

Fork of D3 world map example with TopoJSON to GeoJSON and circular indicators

0 stars0🌍 Public

This example displays a world map highlighting ten cricket-playing nations, each filled with a distinct color. It loads world boundary data as TopoJSON and converts it to GeoJSON using the `topojson` library, then renders the map with `d3.geoEquirectangular` and `d3.geoPath`. A graticule grid is added with `d3.geoGraticule` for visual reference. The map uses SVG elements and data from the world-atlas package, with country-specific colors assigned via a JavaScript object.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed