🌍 Public
Viewing a saved revision (read-only)
ab3e1893446743f0a0aacf7ba69db5fc
Making a Bar Chart
This bar chart displays the populations of ten countries, using horizontal bars sorted by population with a linear scale for the x-axis and a band scale for the y-axis. It loads data from a CSV file and renders SVG rectangles via D3 v5, using `select`, `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `max` to construct the chart with margins and axes.
AI-generated descriptionThis bar chart shows