Affection Type Unknown Map
✓ Published3🌍 Public
This map of Chinese provinces visualizes the number of survey responses with an unknown affection type, using red circles sized by `d3.scaleSqrt` and positioned with `d3.geoCentroid` and the `d3.geoMercator` projection. Province borders are drawn as SVG paths from a TopoJSON file. Each circle’s radius encodes the `Unknown` column from a CSV dataset, joined to the map features via province ID. A square-root size scale maps values from 0 to 500 into radii between 0 and 20 pixels. The visualization uses `d3.geoPath` for rendering geographic features and includes a legend with circles and tick labels generated by a custom `sizeLengend` function.
AI-generated descriptionMIT Licensed