Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a BarChart

Public visualization

Viewing a saved revision (read-only)

8c7ea5f75f1a4521b5afc28e93757cf7

Making a BarChart

0 stars1🌍 Public
Bbakstorage00001
Last edited Jan 30, 2022
Created on Jan 30, 2022
Forked from d3 Intro

The bar chart ranks the ten most populous countries using 2018 estimates from the data.csv file, with population values multiplied by 1000. Built with D3 v5, it renders SVG rectangles using `scaleLinear` for the x-axis, `scaleBand` for y-axis categories, and `axisBottom`/`axisLeft` for tick marks. Margins offset the chart, while the `enter()` selection appends styled `rect` elements with steelblue fills.

AI-generated description

Population from the year 2018 estimate.