Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Viewing a saved revision (read-only)

de78d7b0ef4b4d1ebcabcafa1182e5b1

Scatter Plot

0 stars1🌍 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