Bar chart hw1
✓ Published0🌍 Public
This bar chart displays the population of ten countries, sorted by country name, with horizontal bars scaled by population in thousands. It uses a linear population scale and a band scale for countries, rendering via SVG through D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`. The axis labels and tick formatting use `format('.3s')` to abbreviate large numbers. The visualization loads data from a CSV file using D3’s `csv` function, then applies the scales and axes to draw the chart with a clear margin-based layout.
AI-generated descriptionMIT Licensed