Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Make a BarChart

Public visualization

Make a BarChart

0 stars1🌍 Public
DDataFeast_71
Last edited Nov 16, 2020
Created on Nov 16, 2020
Forked from Make a BarChart

This bar chart displays the populations of the ten most populous countries, with each bar’s length proportional to the population value. It uses D3 v6’s `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisLeft` and `axisBottom` to render the axes. Data is loaded from a CSV file, and population values are multiplied by 1000 before rendering. The visualization is drawn as SVG rectangles styled with steelblue fill, with a margin-based layout and a band padding of 0.1 to separate bars.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed