Skip to main content
100%

Making a Bar Chart

✓ Published2🌍 Public
Bben-chin-43
Last edited May 26, 2020
Created on May 26, 2020

This horizontal bar chart displays the population of the ten most populous countries, using data from a CSV file where population values are multiplied by 1000. Built with D3 v5, the visualization renders as SVG, using `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft`/`axisBottom` for tick marks. Steelblue rectangles represent each country, positioned and sized via the `attr` calls on the appended `rect` elements.

AI-generated description

This bar cahrt shows population of top 10 most populus countries!

MIT Licensed

Similar vizzes