Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Sslipperyd
Last edited Feb 26, 2020
Created on Feb 26, 2020
Forked from Customizing Axes

This scatter plot displays the populations of the top 10 most populous countries in 2018. Each circle is positioned along the x-axis by population and along the y-axis by country name. The chart uses d3.scaleLinear for the population axis and d3.scalePoint for the categorical country axis, with axes rendered via d3.axisLeft and d3.axisBottom. SVG circles, styled with a steelblue fill, are appended through D3's selection API. The data is loaded from a CSV file using d3.csv, with population values multiplied by 1000 to reflect actual counts.

AI-generated description

This bar chart shows the total population of the top 10 most populous countries. The data comes from the year 2018, source(...)

MIT Licensed

Similar vizzes