Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Generation-1 Legendary Pokemon HP Bar Chart

Public visualization

Generation-1 Legendary Pokemon HP Bar Chart

0 stars0🌍 Public
AAnush Kini
Last edited Feb 23, 2021
Created on Feb 23, 2021

This bar chart displays the hit point (HP) values of Generation-1 legendary Pokémon, with each bar’s length proportional to HP and Pokémon names listed along the y-axis. Using D3 v6, the code loads data from a CSV, filters for legendary Pokémon from generation 1, and converts HP strings to numbers. It employs `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft`/`axisBottom` to render the axes as SVG elements. The chart visually compares the relative health stats of these creatures.

AI-generated description

A plot of the HP of different pokemon. Data Source

Comments

Sign in to join the discussion.

MIT Licensed