Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

RajanShah

Public visualization

Viewing a saved revision (read-only)

6bf213838ef741628f12dd4f9b6b1779

RajanShah

0 stars0🌍 Public

This scatter plot visualizes the populations of major US cities, with each dot positioned along a vertical categorical axis for city names and a horizontal linear population scale. Dot size, color intensity, and position all encode population magnitude, while horizontal gridlines aid readability. Built with D3 v7, the visualization loads CSV data from a GitHub gist, uses `scalePoint` for the city axis, `scaleLinear` for population, and `scaleSqrt` for dot sizing. Hovering reveals a tooltip with the city name and exact population. The SVG renderer includes axis labels and a legend-free color scale using `interpolateBlues`.

AI-generated description