Skip to main content
100%

Scatter Plot

✓ Published0🌍 Public
Jjerry70938@gmail.com
Last edited Sep 9, 2024
Created on Sep 9, 2024
Forked from Customizing axes

This scatter plot displays the populations of the top 10 most populous countries, with each country plotted along the vertical axis and its population along the horizontal axis. The visualization uses d3.csv to load the data, then d3.scaleLinear and d3.scalePoint to map population and country names to positions. SVG circles represent the data points, with d3.axisBottom and d3.axisLeft generating the axes. The chart applies d3.format to abbreviate population labels and uses a custom tick size to create grid lines.

AI-generated description
MIT Licensed

Similar vizzes