Skip to main content
100%

Creating a ScatterChart

✓ Published1🌍 Public
Ggabrielribeirob
Last edited Sep 1, 2021
Created on Sep 1, 2021

A scatter chart displays the populations of the ten most populous countries, with each country positioned along a categorical y-axis and population plotted on a linear x-axis. The visualization uses D3 v7 to load CSV data, apply `scaleLinear` and `scalePoint` for the axes, and render SVG circles. `axisBottom` and `axisLeft` generate ticks with custom formatting, while margin-based transforms position the chart elements.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes