🌍 Public
Viewing a saved revision (read-only)
ac159862c14b49bd941d943767eb0bc4
Making a Bar Chart
A horizontal bar chart displays the population of ten countries, sorted by country name. The visualization uses D3 v5 APIs including `d3.csv`, `d3.scaleLinear`, `d3.scaleBand`, `d3.axisLeft`, and `d3.axisBottom`. Data is loaded from a CSV file, with population values multiplied by 1000. The chart is rendered as SVG with steel blue bars and axis labels, using a fixed layout with specified margins.
AI-generated description