Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Viewing a saved revision (read-only)

c3c9af2b8f1f4999a05602ac11aa43e1

Scatter Plot

0 stars1🌍 Public
EEllednera
Last edited Oct 30, 2020
Created on Oct 30, 2020
Forked from Customizing Axes

This scatter plot displays the populations of the ten most populous countries, with each country positioned along the y-axis and its population scaled along the x-axis. The visualization uses d3.csv to load the data, d3.scalePoint for the categorical country axis, and d3.scaleLinear for the population values. Circles are rendered as SVG elements, with grid lines extending across the plot from tick marks. The code applies a custom tick formatter using d3.format to abbreviate large numbers, and follows the Sunlight Foundation color and style guidelines for the chart’s typography and grid styling.

AI-generated description