Skip to main content
100%

Making a bar chart

✓ Published0🌍 Public
Kkhuton
Last edited Aug 11, 2020
Created on Aug 4, 2020
Forked from HTML Starter

A horizontal bar chart ranks Slovak municipalities by their 2019 population, using data from a local CSV file. The chart displays each city district’s name on the y-axis and the population value on the x-axis. Built with d3.v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering rectangular bars with an SVG `rect` element. Axes are generated via `axisLeft` and `axisBottom`, and the bars are styled with a steelblue fill via CSS.

AI-generated description
MIT Licensed

Similar vizzes