Skip to main content
100%

Formating axes

✓ Published1🌍 Public
Aarieltonglet
Last edited Sep 28, 2019
Created on Sep 28, 2019
Forked from Bar chart

This bar chart displays the populations of the nine most populous countries, using a horizontal layout with country names on the y-axis and population values on the x-axis. It uses D3.js's `d3.axisBottom` and `d3.axisLeft` to construct the chart, with a custom tick format that converts values from billions (G) to billions (B) and uses a comma as the decimal separator. The chart, rendered as SVG, omits the y-axis lines and x-axis domain for a cleaner look, with data sourced from Worldometer.

AI-generated description

Data from: Wordlometer

MIT Licensed

Similar vizzes