Skip to main content
100%

Basic Bar Chart - Country Population

✓ Published0🌍 Public
11995ana
Last edited Apr 2, 2020
Created on Apr 2, 2020

A basic bar chart displays population sizes for ten countries, with horizontal bars sorted by country name, using an SVG rendering and D3 v5. The visualization encodes population values through bar length via `d3.scaleLinear` and country names on a categorical band scale, `d3.scaleBand`. Axes are generated with `d3.axisLeft` and `d3.axisBottom`, while data loading and joining rely on `d3.csv` and the enter selection pattern. The chart’s styling applies a steelblue fill to all rectangles.

AI-generated description
MIT Licensed

Similar vizzes