Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Australia Map

Public visualization

Australia Map

0 stars0🌍 Public
Ttejasrikotipalli1@gmail.com
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from usa map

This example displays a choropleth map of Australia, with each electoral region filled with a distinct categorical color and labeled with its name. Using D3 v5 and TopoJSON, it loads the `australia.json` topology, converts the `2021_ELB_region` object into GeoJSON features, and renders them as SVG paths via `d3.geoPath` with a Mercator projection. A `d3.scaleOrdinal` with `schemeCategory10` determines fill colors, while state names are positioned at path centroids. The map includes red stroke outlines for all region boundaries.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed