Fork of ICE 8 Swedish map
✓ Published0🌍 Public
RRamakanth771
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from Making Maps - Country Map with TopOJSON Data
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed