Skip to main content
100%

Making a bar chart

✓ Published1🌍 Public
VVeena Muralidharan
Last edited Aug 21, 2019
Created on Aug 21, 2019

This horizontal bar chart displays population figures for the ten most populous countries, with bars extending from left to right on a linear scale. The visualization is built with D3.js (v5), using `d3.csv` to load the dataset, `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisLeft`/`axisBottom` for the axes. Population values are multiplied by 1,000 during data preprocessing, and bars are rendered as SVG rectangles in steelblue.

AI-generated description
MIT Licensed

Similar vizzes