Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sweden map

Public visualization

Viewing a saved revision (read-only)

3c989f8815004c23af698b779259b9d3

Sweden map

0 stars0🌍 Public
SSravyaAnnadi
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from HTML Starter

This example visualizes the counties of Sweden as a choropleth map, using a red fill for each county and yellow lines to highlight interior borders. The map is rendered as an SVG using React, with geographic data from a remote TopoJSON file. The code employs `topojson.feature` and `topojson.mesh` to extract county boundaries and interior edges, and `d3.geoPath` with the Mercator projection to project the geometries. The projection is fitted to the map's extent using `fitExtent`.

AI-generated description

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

See also React Starter.