Making BAR Chart
✓ Published0🌍 Public
A horizontal bar chart displays population figures for eight countries, with bars sorted by country name. It uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and SVG `rect` elements for the bars. Data is loaded from a CSV file via `csv()`, and axes are generated with `axisLeft` and `axisBottom`. Population values are multiplied by 1000, and bars are styled with a steelblue fill.
AI-generated descriptionMIT Licensed