Skip to main content
100%

Fork of ICE 8 Swedish map

✓ Published0🌍 Public
RRamakanth771
Last edited Apr 3, 2022
Created on Apr 3, 2022

This example displays a choropleth-style map of Swedish counties, using an olive-green fill for each region and yellow borders between them. Built with React and D3 v5, it loads TopoJSON data from a GitHub gist and converts it to GeoJSON using the `feature` and `mesh` functions from the TopoJSON library. The map is rendered as SVG paths, with the `geoMercator` projection and `geoPath` API handling the geographic projection and path generation.

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