Fork of Making a Bar Chart
This bar chart displays the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects, with values multiplied by 1,000 for accuracy. It demonstrates customization of D3 axes, including a horizontal linear scale with tick formatting that converts abbreviations (e.g., "G" to "B") and a vertical band scale for country names. The SVG rendering uses d3.csv, scaleLinear, scaleBand, axisBottom, and axisLeft. The chart includes a title, labeled x-axis, and gridlines created via tickSize, while gridlines and axis domains are selectively removed for a cleaner look.
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.