🌍 Public
Viewing a saved revision (read-only)
ad63cfe876054e35ad5f13651b5943d7
Fork of Australia Map
A choropleth map of Australia renders electoral boundaries with a categorical color scale, displaying state names at region centroids. The visualization uses D3.js version 5 with the geoMercator projection and geoPath generator to project TopoJSON data into SVG paths. The code applies a ten-color ordinal scale based on electoral division properties, with state name labels positioned via the projection's centroid method. The React framework loads geographic data from a GitHub gist, styling state boundaries with black strokes and white fills.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.