Skip to main content
100%

Fork of Making a barchart

✓ Published0🌍 Public
PPiotr Paszek
Last edited Feb 6, 2022
Created on Feb 6, 2022
Forked from Making a barchart

This bar chart displays the population of ten countries, using horizontal bars sorted by population in descending order. The visualization is built with D3 v5 and rendered as SVG elements. It loads data from a CSV file, converts population values to absolute numbers, and uses `d3.scaleLinear` and `d3.scaleBand` to map values to positions. Axes are added with `d3.axisLeft` and `d3.axisBottom`, while bars are drawn as SVG rectangles.

AI-generated description
MIT Licensed

Similar vizzes