Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

Viewing a saved revision (read-only)

4b2c1ba1d69b41e68e5fa3548d32c8ea

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