🌍 Public
Viewing a saved revision (read-only)
9cfc8763c04e476cab64809164bc6691
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