Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

dpka-country-map

Public visualization

Viewing a saved revision (read-only)

9143b1168e764a80b301424b39383ad1

dpka-country-map

1 star0🌍 Public
DDeepikaGoud08
Last edited Apr 13, 2023
Created on Apr 13, 2023
Forked from Country Map

This example displays a choropleth map of the United Kingdom’s administrative districts, rendered as an SVG using React. It shows the geographic boundaries of English local authority districts, with each region colored green and outlined in pink, red upon hover. The code uses D3 v5’s `geoMercator` projection and `geoPath` to generate the map from TopoJSON data loaded via `d3.json`, while `topojson.feature` and `topojson.mesh` extract land polygons and interior borders.

AI-generated description