Skip to main content
100%

Bar Chart

✓ Published1🌍 Public
NNanok09
Last edited Feb 3, 2020
Created on Feb 3, 2020
Forked from Bar Chart

This example displays a horizontal bar chart ranking countries by population, using a CSV dataset of ten nations. The visualization is built with D3.js v5, using `scaleLinear` and `scaleBand` to map population values and country names to SVG rectangles. The axes are generated with `axisLeft` and `axisBottom`, and the bars are rendered as SVG `rect` elements. Data is loaded via `d3.csv` and converted from raw values to thousands.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes