Viewing a saved revision (read-only)
166d200008b6459fae2422f17e8ab85a
I'm Learning D3
This bar chart visualizes the top 10 most populous countries using 2018 population estimates from the United Nations World Population Prospects 2017. The visualization employs d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis, with d3.axisLeft and d3.axisBottom to display axes. Population data is loaded from a CSV file using d3.csv, and rectangles are bound to the data to render the bar heights and widths. The chart demonstrates customized D3 v4 axes alongside basic SVG rendering.
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.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.