🌍 Public
Viewing a saved revision (read-only)
28942966d12140d6a8381c80980c0de9
Making a Bar Chart
This horizontal bar chart displays the population of ten countries, ordered alphabetically by country name. The visualization loads data from a CSV file and renders the bars as SVG rectangles, using D3 v5’s `scaleLinear` for the population axis and `scaleBand` for the categorical country axis. The chart includes left and bottom axes via `axisLeft` and `axisBottom`, with bars styled in steelblue.
AI-generated description