Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE8 - Country Map

Public visualization

Viewing a saved revision (read-only)

1d4af4fd40ac4bfb82be7b5b3f6c7ec3

Fork of Fork of ICE8 - Country Map

0 stars0🌍 Public
JJustin Roberts
Last edited Mar 25, 2023
Created on Mar 25, 2023

A choropleth map of Australian electoral regions renders each state and territory as an SVG path, colored by electoral division via a categorical color scale. The geoMercator projection is manually translated and scaled to frame the country. D3 v5’s `geoPath` generates the paths, while TopoJSON’s `feature` extracts region boundaries from the bundled `australia.json`. Each region includes a small text label at its centroid, computed with `pathGenerator.centroid`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.