Skip to main content
100%

ScatterPlot

✓ Published1🌍 Public
SSagar Malviya
Last edited Jun 7, 2019
Created on Jun 1, 2019
Forked from Customizing Axes

A scatterplot displays the population of the ten most populous countries, with each circle’s position encoding population on the x-axis and country on the y-axis. The visualization uses d3.csv to load data, d3.scaleLinear and d3.scalePoint for scaling, and d3.axisBottom and d3.axisLeft with grid lines. Circles are appended as SVG elements with a fixed radius, while axis labels and a title are added via d3 selections. The chart renders population values in thousands, formatted with d3.format.

AI-generated description
MIT Licensed

Similar vizzes