Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Zzlastefcia
Last edited Sep 8, 2020
Created on Sep 8, 2020
Forked from Customizing Axes

This example shows the top 10 most populous countries in 2018, with each country’s population plotted as a circle along a linear x-axis and a categorical y-axis. The visualization uses d3.csv to load the data, d3.scaleLinear and d3.scalePoint for scaling, and d3.axisBottom and d3.axisLeft for the axes. Circles are appended to an SVG, styled in steelblue via CSS. Axis labels and a title are added as text elements, with gridlines generated by tickSize settings. The data comes from a local CSV file, and the chart renders entirely as SVG.

AI-generated description
MIT Licensed

Similar vizzes