Scatter Plot
✓ Published1🌍 Public
This scatter plot shows the top 10 most populous countries, with each country positioned along the y-axis and its population along the x-axis using D3 v5’s `scalePoint` and `scaleLinear`. The code loads population data from a CSV file, converts values to absolute numbers, and renders circles with `d3.select` and SVG. It builds axes using `d3.axisLeft` and `d3.axisBottom`, formatting tick labels with `d3.format`. The chart includes labeled axes, a title, and steel-blue circles, with margins defined to accommodate the long country names.
AI-generated descriptionThis bar chart comes from (https://www.youtube.com/watch?v=c3MCROTNN8g&list=PL9yYRbwpkykvOXrZumtZWbuaXWHvjD8gi&index=9).
MIT Licensed