Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plots

Public visualization

Viewing a saved revision (read-only)

5d5242bfcb4d436abbc220948af18afe

Scatter Plots

0 stars1🌍 Public
Sstephanie0215
Last edited Sep 24, 2022
Created on Sep 24, 2022
Forked from Custominzing Axes

This scatter plot ranks the top ten most populous countries along a horizontal population axis, using a categorical vertical axis for country names. The chart encodes population values as the x-coordinate of each circle, with a linear scale that formats ticks in billions. Built with D3 v7, the visualization uses `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` to construct the plot, while data from a CSV file is loaded via d3's `csv` function and multiplied by 1000 to convert values to actual population counts. The SVG output is styled with CSS classes for the circular marks, axis labels, and title.

AI-generated description

T