Skip to main content
100%

Costumazing Axes

✓ Published1🌍 Public
IIsmaelHernandezL
Last edited Jan 2, 2020
Created on Jan 2, 2020
Forked from Making a Bar Chart

This bar chart displays the populations of the world’s ten most populous countries, based on 2018 United Nations estimates, with population values shown in thousands. The chart uses d3.scaleLinear and d3.scaleBand to map population and country names, while d3.axisBottom and d3.axisLeft generate the axes. The y-axis labels are cleaned by removing domain lines and ticks, and the x-axis tick labels are formatted with d3.format to abbreviate large numbers (e.g., converting “G” to “B”). The SVG rendering includes custom axis labels and a title, with the dataset loaded via d3.csv.

AI-generated description

This bar chart shows populations of 10 the most populous countries. The data comes from the year 2018 estimate in [United World Population Prospects 2017]

MIT Licensed

Similar vizzes