Fork of Swedish map
✓ Published5🌍 Public
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.
MIT Licensed