🌍 Public
Viewing a saved revision (read-only)
6f64b4333ff5445f9daf6ab6f05a22c3
Scatter Plot of Country Populations from CSV file
This example displays a scatter plot of country populations from a CSV file, with each circle positioned along a point scale for countries and a linear scale for population values. The visualization includes labeled axes, grid lines, and a formatted x-axis that abbreviates large numbers. Using D3 v5, the code loads data with `d3.csv`, scales it with `d3.scaleLinear` and `d3.scalePoint`, and renders the chart as SVG elements including axes and circles.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by producing a scatter plot chart from data within a csv file. (based on forked code from Curran Kelleher)