Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Affection Type Relative Map

Public visualization

Viewing a saved revision (read-only)

18d58d5cf85f47749c5896b3992cf4d4

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