Fork of Making a Bar Chart
This horizontal bar chart displays the top 10 most populous countries in 2018, using United Nations population estimates. It demonstrates D3 v5 customization of axes, including a formatted x-axis with tick marks and labels, a removed y-axis domain, and rotated tick labels. The chart uses `scaleLinear` and `scaleBand` for scales, `csv` to load data, and `axisBottom` and `axisLeft` for axes. Population values are multiplied by 1000, and d3-format abbreviates tick labels (e.g., "1.42B"). Rendering is SVG-based with steelblue bars and a custom title.
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.