Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
OOleg
Last edited Oct 29, 2020
Created on Oct 29, 2020
Forked from Customizing Axes

This scatter plot displays the population of the top ten most populous countries, with each circle positioned along the y-axis by country name and the x-axis by population count. The visualization uses D3 version 6’s `csv` to load data from a CSV file, `scaleLinear` for the x-axis, and `scalePoint` for the categorical y-axis. Axis lines are rendered with `axisBottom` and `axisLeft`, and ticks extend across the chart while grid lines and tick labels are styled via CSS. The SVG output is generated through D3’s selection API, with circles added using the `enter` pattern.

AI-generated description
MIT Licensed

Similar vizzes