Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
Aantziko
Last edited Aug 16, 2022
Created on Aug 16, 2022
Forked from Customizing Axes

This bar chart shows the top 10 most populous countries in 2018, using population data from the United Nations World Population Prospects 2017. The visualization customizes D3 axes: the y-axis labels are clickable to alert their text, while the x-axis formats numbers in abbreviated form, replacing “G” with “B”. Built with d3.v5 and SVG, it uses `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render the chart, with tick lines sized to the inner height and custom styles for the title and axis labels.

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