🌍 Public
Viewing a saved revision (read-only)
50d5d3eca44f4b4d8f420c27edf09821
Affection Type Relative Map
This map of China visualizes the relative frequency of “Relative” as an affection type by province, using circles sized with a d3.scaleSqrt and positioned via d3.geoCentroid. The choropleth-style province paths are colored with d3.scaleOrdinal, and province names are shown via tooltips. The code loads CSV data and TopoJSON geometry, then applies a d3.geoMercator projection with d3.geoPath to render the SVG. A custom size legend is drawn with D3 scales and formatting.
AI-generated description