Skip to main content
100%

Making a bar chart

✓ Published1🌍 Public
AAaron Goebel
Last edited Apr 11, 2020
Created on Apr 11, 2020
Forked from Making a bar chart

A bar chart displays the ten most populous countries, ranked by population from China down to Mexico. The chart uses a horizontal bar layout with population values scaled along the x-axis and country names on the y-axis. Built with D3 v5, the visualization loads data from a local CSV file and renders as SVG. The code employs `scaleLinear` and `scaleBand` for the axes, with `axisLeft` and `axisBottom` to generate their ticks. Bar rectangles are filled with a steel blue color via CSS.

AI-generated description

This bar chart shows population of the top 10 most populous contries. World popilation Prospects 201

MIT Licensed

Similar vizzes