🌍 Public
Viewing a saved revision (read-only)
7adcee1d56ed480c8088e5fa59d12621
Fork of Simple Bar Chart
This fork of a simple bar chart displays the top 10 Pokémon by total stats from a bundled CSV dataset. It sorts the data by the total stat column in descending order and selects the first ten entries for visualization. The chart uses d3's `scaleBand` and `scaleLinear` for axes and position encoding, with bars drawn as SVG rectangles. The code relies on the `select`, `descending`, and data join operations from D3 to manage the SVG elements and rendering.
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