🌍 Public
Viewing a saved revision (read-only)
6b9101c3e44d4431818948078b1ec87b
Affection Type Social Map
A choropleth map of China displays each province colored by category, overlaid with circles sized by social affection values using a square-root scale. The map uses `d3.geoMercator` projection and `d3.geoPath` to render province boundaries from TopoJSON data, while CSV data is merged with geographic features. A custom legend built with `d3.scaleSqrt` and `sizeLengend` shows circle radius mappings. Hovering highlights provinces, and the SVG rendering uses D3 v5 with `d3.csv` and `d3.json` for data loading.
AI-generated description