Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of countries

Public visualization

Viewing a saved revision (read-only)

63adb88b164548d7a7dac30c0892f87d

Fork of countries

0 stars0🌍 Public

This scatterplot of countries uses urban population as the x-axis and country names as the y-axis, with circles colored by each nation’s official language. Hovering over the color legend filters the displayed points to only those matching that language, dimming non-matching data. The visualization is built with React, D3 v5’s `scaleLinear`, `scaleOrdinal`, and `extent` for scales, and custom React components for axes, marks, and the interactive legend. Data loads from a CSV via `d3.csv`, and all elements render as SVG inside a single `<svg>` canvas.

AI-generated description