Skip to main content
100%

let us make a bar chart

✓ Published0🌍 Public
Ddavid-fon
Last edited Dec 6, 2020
Created on Nov 29, 2020
Forked from HTML Starter

This example presents a horizontal bar chart of population figures for ten countries, rendered as an SVG composed of steelblue rectangles on a white canvas. The visualization is built with D3 version 6, using `scaleBand` and `scaleLinear` to map country names and population values to pixel coordinates. Axes are generated with `axisLeft` and `axisBottom`, while the data is loaded from a local CSV file. The chart displays the final ranked list of countries sorted by their population.

AI-generated description

citation以及链接

MIT Licensed

Similar vizzes