Skip to main content
100%

Affection Type Unknown Map

✓ Published0🌍 Public
SSrishti2398
Last edited May 14, 2020
Created on May 14, 2020

This map of China visualizes provincial data on affection types, specifically highlighting the "Unknown" category through red circles positioned at each province’s centroid. The map uses an SVG rendering with a Mercator projection and loads geographic boundaries from a TopoJSON file while joining CSV data by province ID. Circle radii are scaled using `d3.scaleSqrt` based on unknown values, with a custom size legend showing tick values. Provinces are colored using `d3.scaleOrdinal` with `schemeCategory10`, and hover effects change fill to red. The visualization relies on `d3.geoPath`, `d3.geoCentroid`, and `d3.zoom` for interaction.

AI-generated description
MIT Licensed

Similar vizzes