Fork of Making A Bar Chart
✓ Published0🌍 Public
This bar chart displays population figures for ten countries in 2018, ordered alphabetically along the vertical axis with horizontal bars sized by population. The visualization uses D3 v7’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map the CSV data, with populations converted from thousands to absolute values. The SVG renders steelblue rectangles, and axes are appended to a translated group element. The page is styled with a plain CSS reset, and the chart loads data asynchronously via `d3.csv`.
AI-generated descriptionMIT Licensed