🌍 Public
Fork of 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 descriptionThis 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








Comments
Sign in to join the discussion.