Making a Bar Chart
✓ Published0🌍 Public
A horizontal bar chart displays population counts for ten countries, sorted alphabetically by country name. Each bar’s length is scaled linearly from zero to the maximum population, while the y-axis uses a band scale for country labels. The visualization is built with D3 v5, using `d3.csv` to load data, `scaleLinear` and `scaleBand` for axes, and SVG rectangles for bars. The chart includes left and bottom axes generated with `axisLeft` and `axisBottom`.
AI-generated descriptionMIT Licensed