Skip to main content
100%

Making Verticle Bar Chat

✓ Published1🌍 Public
Aatayyaba
Last edited Mar 26, 2020
Created on Mar 26, 2020
Forked from Making Bar Chat

This example shows a vertical bar chart of country populations, using a bar for each nation sorted by population size. The visualization is built with D3 v5 and renders as SVG, using `d3.scaleLinear` for the y-axis and `d3.scaleBand` for the x-axis. Data is loaded from a CSV file via `d3.csv`, with population values converted from thousands to absolute numbers. Axes are added with `d3.axisLeft` and `d3.axisBottom`, and bars are drawn as SVG `rect` elements with a steelblue fill.

AI-generated description
MIT Licensed

Similar vizzes