Skip to main content
100%

Fork of Simple Bar Chart

✓ Published0🌍 Public
Ppadmeshnaik22@gmail.com
Last edited Feb 5, 2024
Created on Feb 5, 2024
Forked from Simple Bar Chart

This fork of a simple bar chart displays the top 10 most populous countries as of January 1, 2024, using data from the UN population estimates dataset. The visualization ranks countries by total population in thousands, with bars sorted in descending order. Built with D3 v7, it uses `scaleBand` for the categorical x-axis and `scaleLinear` for the numeric y-axis, while `axisLeft` and custom axis-label utilities render the chart elements. The reusable `viz` component accepts configurable margins, labels, and data mappings, making it adaptable for different datasets.

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