🌍 Public
Viewing a saved revision (read-only)
938087a2e2024e0db1435aa40fc0f9cc
Affection Type Unknown Map
This map of China visualizes provincial data on affection types, specifically highlighting the "Unknown" category through red circles positioned at each province’s centroid. The map uses an SVG rendering with a Mercator projection and loads geographic boundaries from a TopoJSON file while joining CSV data by province ID. Circle radii are scaled using `d3.scaleSqrt` based on unknown values, with a custom size legend showing tick values. Provinces are colored using `d3.scaleOrdinal` with `schemeCategory10`, and hover effects change fill to red. The visualization relies on `d3.geoPath`, `d3.geoCentroid`, and `d3.zoom` for interaction.
AI-generated description