Fork of Simple Bar Chart
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries as of January 1st, 2024. The visualization encodes each country's population with a bar, and a color scale from light blue to dark purple indicates a percentage value, as defined by a sequential color legend. Built using the d3 library, the chart’s color mapping uses `d3.scaleLinear()` with a domain from 0 to 100 and a range of five hex colors. The example is a fork of a simple bar chart, demonstrating how to adapt the visualization to custom datasets.
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