Skip to main content
Explore
Solutions
Bespoke Studio
Pricing
Quick Start
Demo
Log in
Send feedback
✕
Tell us what works and what could be better. We read every submission.
Send feedback
✕
Tell us what works and what could be better. We read every submission.
Home
•
Fork Viz
Fork Viz
Create your own copy of this visualization.
Forking from
Simple Bar Chart
Title
*
Description
This example displays a bar chart of the top 10 most populous countries as of January 1, 2024, using data from a United Nations population estimates dataset. It shows each country’s total population in thousands. The visualization is built with D3.js, using `scaleBand` and `scaleLinear` to position bars, with axes and labels generated via the `@curran/axis-labels` library. The code filters the dataset for countries, sorts by population in descending order, and slices the top 10.
Visibility
Public
Private (only you), Pro
Unlisted (anyone with link)
Private work requires Pro.
Upgrade
Cancel
Fork Viz