Skip to main content
100%

Creating the scatter Plot

✓ Published1🌍 Public
Eedmond gihozo
Last edited Mar 28, 2020
Created on Mar 28, 2020

This scatter plot visualizes country populations using a circular mark for each nation, with population values scaled along the x-axis and countries ordered on the y-axis. The chart adds horizontal gridlines and formats tick labels with the `d3.format` function. Built with D3 v5, the example uses `d3.csv` to load data, `scaleLinear` and `scalePoint` for positioning, and `axisLeft`/`axisBottom` to render axes. The SVG output includes a styled title and custom margins, with data loaded from a local CSV file.

AI-generated description
MIT Licensed

Similar vizzes