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
Ppoyomon
Last edited Sep 24, 2018
Created on Sep 24, 2018

This bar chart displays the population of the top 10 most populous countries, with the United Nations population data loaded from a CSV file. The chart uses D3 v5's `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis, rendering rectangles in an SVG. Axes are added with `axisLeft` and `axisBottom`, while the population values are multiplied by 1,000 upon data parsing. The visualization employs a fixed margin layout and steelblue bars.

AI-generated description

This bar chart shows population if the top 10 most populous countries. (https://population.un.org/wpp/Download/Standard/Population/)

Comments

Sign in to join the discussion.

MIT Licensed