🌍 Public
Viewing a saved revision (read-only)
21831e4e30224f8f9556040c24f0f31e
Tutorial 1
A horizontal bar chart displays the top ten countries by population in the year 2000, sourced from a local CSV file. Bars are rendered as SVG rectangles using D3 v7’s scaleBand for the categorical country axis and a linear scale for population values. The chart includes formatted axis ticks via d3.axisBottom with a .2s format, a left axis, and a centered axis label. Data is loaded asynchronously with d3.csv and processed in a useData function.
AI-generated description