🌍 Public
Viewing a saved revision (read-only)
860889b139f54ac2a73230bedfd5f5d5
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