Skip to main content
100%

map

✓ Published0🌍 Public
Ssaisathyapriya097@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from Polished World Map

This example displays a choropleth map of Australia, showing state boundaries and labels with hover-based population tooltips. It uses a Mercator projection centered on the country via `d3.geoMercator()` and renders geographic features as SVG paths through `d3.geoPath()`. State polygons are styled with a light fill that darkens on mouseover. The map loads GeoJSON data from a remote gist, and labels are positioned using `path.centroid()`. A custom tooltip div reveals the population property for each state on hover.

AI-generated description
MIT Licensed

Similar vizzes