🌍 Public
Viewing a saved revision (read-only)
f581a21c16ad44028f6008e9925ff890
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.