Skip to main content
100%

Scatter Plot: Quantitative vs Qualitative values

✓ Published1🌍 Public
MMinwoo Pak
Last edited Nov 7, 2019
Created on Nov 7, 2019
Forked from Customizing Axes

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 description
MIT Licensed

Similar vizzes