🌍 Public
Viewing a saved revision (read-only)
93f15082087947d0b4d3713fa3c0e940
Bar Chart
A horizontal bar chart displays population estimates for ten countries, with bars ordered from China at the top to Mexico at the bottom. Population values are read from a CSV file and scaled linearly, while country names are mapped to a band scale. The chart is rendered as SVG using D3 v5, with axes generated by `axisLeft` and `axisBottom`. The bars themselves are appended as `rect` elements with a steelblue fill, and the visualization includes margins and a padding between bars.
AI-generated descriptionAn example showing the capabilities of VizHub.