Making a Bar Chart
✓ Published1🌍 Public
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 descriptionMIT Licensed