Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

test Een collectie zonder Indonesië

Public visualization

test Een collectie zonder Indonesië

0 stars1🌍 Public
MManoukK
Last edited Nov 22, 2019
Created on Nov 22, 2019

This bar chart displays the population of the top 10 most populous countries, omitting Indonesia from the dataset despite its inclusion in the source data. The visualization uses D3 v5 with SVG rendering, employing `scaleLinear` and `scaleBand` for the y and x axes respectively. Data is loaded from a local CSV file using `csv`, and the chart customizes axes with rotated labels and red tick marks. The bars are drawn as `rect` elements, with the y-axis inverted using a range of `[innerHeight, 0]`.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

Comments

Sign in to join the discussion.

MIT Licensed