🌍 Public
Viewing a saved revision (read-only)
e7010807e5c44d90bbf8f446f8ce4316
Fork of Swedish map
This visualization presents a choropleth-style map of Swedish counties (laen), rendered as black filled polygons with white interior boundaries, using a Mercator projection fitted to the viewport. It loads GeoJSON data from a topojson file via d3.json and converts it using the topojson.feature and topojson.mesh APIs. The React component uses d3.geoPath with projection.fitExtent to scale the map, while SVG paths are generated dynamically in the Marks component. The styling applies distinct fill and stroke colors to distinguish county regions from administrative borders.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.