🌍 Public
Viewing a saved revision (read-only)
1d33b032270a445587607e6fb56a1cc7
Making a Bar Chart
This example displays a bar chart of the top 10 most populous countries, with population values on the x-axis and country names on the y-axis. The SVG render uses d3.csv to load the data, then d3.scaleLinear and d3.scaleBand to map values, with d3.axisLeft and d3.axisBottom for tick marks.
AI-generated description