Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
HHelenaShu
Last edited Aug 30, 2019
Created on Aug 30, 2019
Forked from Making a bar chart

This scatter plot displays country populations across Africa, using a point scale for countries on the y-axis and a linear scale for population on the x-axis. The code loads data from a CSV file using `d3.csv`, then renders circles with `d3.scaleLinear` and `d3.scalePoint`. Axes are drawn with `d3.axisLeft` and `d3.axisBottom`, including gridlines and custom labels, while the SVG output is styled via CSS.

AI-generated description
MIT Licensed

Similar vizzes