Skip to main content
100%

Barras estilizadas

✓ Published0🌍 Public
EErandiFlores
Last edited Mar 4, 2022
Created on Mar 4, 2022
Forked from Customizing Axes

This bar chart displays the populations of the top 10 most populous countries, using 2017 United Nations estimates. It shows population values on a linear scale and country names on a categorical band scale, with styled axes and tick marks. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the chart as SVG, with formatted tick labels converting large numbers to abbreviated forms. Data is loaded from a CSV file and multiplied by 1000 to represent thousands.

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