Scatter Plot: Quantitative vs Qualitative values
✓ Published1🌍 Public
This scatter plot displays the population of the ten most populous countries, with each country positioned along the vertical axis and its population on the horizontal axis. The visualization uses D3 v5’s `scaleLinear` for the population values and `scalePoint` for the categorical country names, rendering circles via SVG. The code loads data from a CSV file using `d3.csv`, formats the x-axis ticks with `d3.format`, and adds grid lines through custom axis tick sizes.
AI-generated descriptionMIT Licensed