Skip to main content
100%

I'm Learning D3

✓ Published0🌍 Public
CClair Sun
Last edited Nov 16, 2019
Created on Nov 16, 2019
Forked from Untitled

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 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.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes