Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

f581a21c16ad44028f6008e9925ff890

Bar Chart

0 stars1🌍 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.