Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
Mmellerjakub88
Last edited May 13, 2019
Created on May 13, 2019

This example displays the population of the ten most populous countries using a simple bar chart, based on 2018 estimates from the United Nations World Population Prospects. The visualization is rendered as SVG elements with steel-blue rectangles. The code loads the dataset with `d3.csv` and uses `d3.select` to set the chart’s dimensions from the SVG attributes, demonstrating a basic data-binding workflow in D3 v5.

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.

MIT Licensed

Similar vizzes