Skip to main content
100%

Fork of Fork of Making a Bar Chart

✓ Published1🌍 Public
Jjohncoder21
Last edited Jul 31, 2021
Created on Jul 29, 2021
Forked from Bar Chart 8/1

This bar chart displays the population of the top 10 most populous countries based on 2018 estimates from the United Nations World Population Prospects. It shows how D3 v5 axes can be customized to improve readability of the value labels. The SVG rendering uses d3.csv to load data and d3.scaleBand with d3.scaleLinear for positioning, while d3.axisBottom creates the x-axis. The page also includes a separate SVG element demonstrating a circle update pattern with d3.select and .join.

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.

MIT Licensed

Similar vizzes