Making a bar chart
✓ Published1🌍 Public
A bar chart displays population figures for ten countries, with horizontal bars sorted by country name. The visualization loads data from a CSV file and renders it as SVG rectangles using D3 v5. It uses `d3.scaleLinear` for the population axis, `d3.scaleBand` for country categories, and `d3.axisLeft` and `d3.axisBottom` for labeled axes. Bar heights and widths derive from the dataset, with a steelblue fill applied via CSS.
AI-generated descriptionMIT Licensed