Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
MMrG113
Last edited Aug 10, 2019
Created on Aug 10, 2019
Forked from Making a Bar Chart

This visualization displays the populations of the ten most populous countries, based on 2019 estimates from World Population Prospects. The chart is rendered as SVG, with each country’s population represented by a vertical bar of proportional height. The code uses D3 v5 modules, specifically the `select` API to manipulate the DOM, and scales and axes are constructed to position bars and label ticks. Data is loaded from a local CSV file, and styling is applied via external CSS, including a custom font and steelblue bar fill.

AI-generated description

This is a bar chart shows population of the top 10 most populous countries. The data comes from the year 2019 estimates in World Population Prospects 2019

MIT Licensed

Similar vizzes