Skip to main content
100%

Scatter Plot with D3.js

✓ Published1🌍 Public
CCarloWK1202
Last edited Jul 6, 2022
Created on Jul 6, 2022

This scatter plot displays the population of the top 10 most populous countries, with countries arranged on the y-axis and population values on the x-axis. Built with D3.js v7, it uses `scaleLinear` and `scalePoint` to map data from a CSV file to SVG coordinates, with circles rendered for each country. The chart includes grid lines via `axisBottom` and `axisLeft`, and formats population numbers using `format('.3s')` to display values in billions.

AI-generated description
MIT Licensed

Similar vizzes