Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Ddev-ignacio-h
Last edited May 5, 2020
Created on Apr 23, 2020

This example shows the population of the top ten most populous countries using a horizontal bar chart, with data sourced from the 2017 World Population Prospects. The visualization uses D3 v5 with an SVG rendering approach, employing `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis, and `d3.axisLeft` and `d3.axisBottom` to display the country names and population counts. Data is loaded asynchronously via `d3.csv`.

AI-generated description

This bar chart shows population of the top ten most populous contries. The data comes from the year 2018 estimate in World Population Prospects 2017.

Activity carried out in the Curran Kelleher ourse en Making a Bar Chart with D3.js and SVG [Reloaded].

MIT Licensed

Similar vizzes