Skip to main content
100%

ICE 8- COUNTRY MAP

✓ Published0🌍 Public
SSaahithi49
Last edited Jul 10, 2022
Created on Jul 9, 2022
Forked from Hello VizHub

This example displays a choropleth-style map of Sweden’s counties (län), rendered as SVG paths using D3’s `geoMercator` projection and `geoPath` generator. The map is built with React, fetching TopoJSON data from a GitHub gist and converting it to GeoJSON via `topojson.feature` and `topojson.mesh` for interior boundaries. County borders are highlighted with a pink stroke, while interior mesh lines appear in pale green, showcasing layered vector styling. The visualization demonstrates integration of D3 v5, React hooks (useState, useEffect), and client-side geographic data processing.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes