Skip to main content
100%

Affection Type Relative Map

✓ Published0🌍 Public
LLex
Last edited Oct 20, 2020
Created on Mar 26, 2020

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

Similar vizzes