Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE8 - Country Map

Public visualization

Viewing a saved revision (read-only)

d685da38cb9248d480351417bee81c5b

Fork of ICE8 - Country Map

1 star0🌍 Public
YYerlan Yeszhanov
Last edited Nov 25, 2022
Created on Nov 3, 2022
Forked from ICE8 - Country Map

This example renders a choropleth map of Australia using a GeoJSON file. The code employs D3 v5's `geoMercator` projection and `geoPath` to convert geographic coordinates into SVG paths, with `scaleOrdinal` and `schemeCategory10` assigning categorical colors to electoral divisions. State names are placed at path centroids. The map is drawn in SVG within a React-free HTML page, loading data via `json()` and styling borders through CSS.

AI-generated description

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

See also React Starter.