Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Viewing a saved revision (read-only)

ccca79d1b9cd49a2937a069ad7605605

Scatter Plot

0 stars1🌍 Public
YYifei Liu
Last edited Aug 27, 2020
Created on Aug 27, 2020
Forked from Customizing Axes

This scatter plot displays the world’s top 10 most populous countries, with each circle’s horizontal position representing population (in thousands) and vertical position mapped to country names. It uses categorical scaling for the y-axis and linear scaling for the x-axis via d3.scaleLinear and d3.scalePoint, respectively. The SVG circles are rendered with a fixed radius, while axes include tick marks and labels, with data sourced from the World Bank (WB). The code employs d3.csv to load data and d3.format for abbreviating population values.

AI-generated description