bar graph
✓ Published2🌍 Public
A horizontal bar graph displays population counts for four countries using D3 v6. The visualization renders as SVG, with steelblue bars representing each nation's population, sorted alphabetically by country name. The chart reads population data from a CSV file, multiplies the values by 1000, and uses D3's `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. Axes are generated with `axisLeft` and `axisBottom`, while the bar rectangles are appended dynamically to the SVG group.
AI-generated descriptionMIT Licensed