Skip to main content
100%

Fork of Simple Bar Chart

✓ Published0🌍 Public
Llegrande.sd.designs@gmail.com
Last edited Nov 30, 2024
Created on Nov 30, 2024
Forked from Simple Bar Chart

This fork of a bar chart visualization displays the top 10 most populous countries as of January 1st, 2024, using population data from the @curran/un-population-estimates-2024 dataset. The chart shows country names on the x-axis and population values in thousands on the y-axis, with bars rendered via SVG rectangles. It uses D3.js APIs including `scaleLinear`, `scaleBand`, and `axisLeft` to build the scales and axes, while importing axis label helpers from @curran/axis-labels. The visualization sorts the data in descending order and slices the first 10 entries before rendering.

AI-generated description

A bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.

Challenge

  • Fork this viz and modify it to show your own data
MIT Licensed

Similar vizzes