Skip to main content
100%

Bar chart

✓ Published1🌍 Public
Llwinmgsoe
Last edited Apr 23, 2020
Created on Apr 23, 2020
Forked from HTML Starter

This bar chart displays the population of ten countries, sourced from UN data, with values scaled by a factor of one thousand. It uses D3 v5 to load the CSV dataset and render SVG rectangles, with `d3.scaleLinear` mapping population to bar width and `d3.scaleBand` positioning countries along the vertical axis. The chart includes axis labels generated by `d3.axisLeft` and `d3.axisBottom`, and applies a steelblue fill to bars with padding between them for clarity.

AI-generated description

First barchat by D3.js Dataset source UN

MIT Licensed

Similar vizzes