Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

2e5679c861fb404c8633a27ef75b2c54

Fork of Making a Bar Chart

0 stars0🌍 Public
DDipin Khati
Last edited Apr 20, 2022
Created on Apr 17, 2022
Forked from Making a Bar Chart

This bar chart displays the top 10 most populous countries (represented by Alabama’s 2015 mortality data) using population values from the dataset. It demonstrates customization of D3 axes, including a formatted tick label that abbreviates large numbers (e.g., converting "G" to "B"). The visualization uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for positioning, and d3.axisLeft and d3.axisBottom with tickSize to create gridlines. The SVG rendering includes a title, axis label, and steelblue bars with margins.

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.