🌍 Public
Scatter Plot
This scatter plot displays the populations of the 10 most populous countries, using a linear x-scale for population values and a point y-scale for country names. The code builds the visualization with D3 v6, using `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` to render the axes and SVG circles for each data point. Population data from the 2018 United Nations World Population Prospects is loaded via `csv`, then scaled to thousands. The plot includes axis labels and a title, with country names positioned along the y-axis.
AI-generated descriptionThis bar chart shows population of the 10 most populous countries. The data comes from the year 2018 in United Nations World Population Prospects 2017
MIT Licensed
Comments
Sign in to join the discussion.