Skip to main content
100%

Scatter Plot

✓ Published1🌍 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
MIT Licensed

Similar vizzes