🌍 Public
Affection Type Unknown Map
This map of Chinese provinces visualizes the number of people with unknown affection types, alongside other categories like social, relative, and travel connections. The map renders geographic boundaries using `d3.geoPath` and `geoMercator`, with circles scaled via `d3.scaleSqrt` to represent counts for each province. The choropleth fill, using `d3.scaleOrdinal`, encodes province IDs, while hover effects highlight regions. Data comes from a CSV joined with TopoJSON from a remote GitHub source. A size legend is custom-built to aid interpretation.
AI-generated descriptionMIT Licensed








Comments
Sign in to join the discussion.