Skip to main content
100%

Affection Type Unknown Map

✓ Published3🌍 Public
LLex
Last edited Oct 20, 2020
Created on Mar 25, 2020

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 description
MIT Licensed

Similar vizzes