Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
CCarolina Acosta Muñoz
Last edited Aug 23, 2021
Created on Aug 23, 2021
Forked from Customizing Axes

This bar chart displays the top 10 most populous countries based on 2018 United Nations estimates, with population values shown on the x-axis and country names on the y-axis. The visualization uses d3.csv to load the data, d3.scaleLinear and d3.scaleBand for positioning, and d3.axisBottom with a custom tick formatter that converts values to abbreviated units. The chart also demonstrates axis customization through d3.axisLeft, removing default domain lines, and adding custom axis labels and a title using SVG text elements.

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