Fork of Simple Bar Chart
✓ Published0🌍 Public
This fork of the Simple Bar Chart example visualizes the top 10 most populous countries on Earth as of January 1st, 2024. The bar chart uses D3 scaleBand for categorical x-axis positioning and scaleLinear for the numeric y-axis, with each bar’s height encoding the population value. The code imports data from a raw CSV file hosted on GitHub and applies an inner rectangle fill for chart background styling. Axes and labels are rendered using D3’s axis functions and the @curran/axis-labels library, making the chart a straightforward adaptation of the original template to new data.
AI-generated descriptionA 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