Skip to main content
100%

Bar Chart

✓ Published1🌍 Public
Mmerha-g-selassie
Last edited Feb 7, 2020
Created on Dec 13, 2019
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes