Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Affection Type Relative Map

Public visualization

Viewing a saved revision (read-only)

50d5d3eca44f4b4d8f420c27edf09821

Affection Type Relative Map

0 stars0🌍 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