Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

Making a bar chart

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed