Skip to main content
100%

Fork of Simple Bar Chart

✓ Published0🌍 Public
Bbenclark.3rd@gmail.com
Last edited Feb 8, 2024
Created on Feb 7, 2024
Forked from 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 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