Introduction to the Pokemon Database dataset
This is a document that contains information and the full list of Pokemon from all 8 generations of the series along with their main stats. The purpose of this document is to create a data table of all the Pokemon along with their HP, Attack, Defense, Special Attack, and Special Defense from the game series. This data information will then be analyzed with visualizations or more.
Data Source and Cleaning
The complete Pokemon Pokedex from all generations was scraped and put into a dataframe from pokemondb.net. This website holds lots of Pokemon information ranging from any news & updates to the series. This website makes it easy for anyone to digest any Pokemon information possible. Pokemon Database made it easy to scrape Pokemon stats into a usable dataframe which can be seen below.
| Pokedex | Name | Type | Total | HP | Attack | Defense | Sp..Atk | Sp..Def | Speed |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Bulbasaur | GrassPoison | 318 | 45 | 49 | 49 | 65 | 65 | 45 |
| 2 | Ivysaur | GrassPoison | 405 | 60 | 62 | 63 | 80 | 80 | 60 |
| 3 | Venusaur | GrassPoison | 525 | 80 | 82 | 83 | 100 | 100 | 80 |
| 3 | VenusaurMega Venusaur | GrassPoison | 625 | 80 | 100 | 123 | 122 | 120 | 80 |
| 4 | Charmander | Fire | 309 | 39 | 52 | 43 | 60 | 50 | 65 |
| 5 | Charmeleon | Fire | 405 | 58 | 64 | 58 | 80 | 65 | 80 |
| 6 | Charizard | FireFlying | 534 | 78 | 84 | 78 | 109 | 85 | 100 |
| 6 | CharizardMega Charizard X | FireDragon | 634 | 78 | 130 | 111 | 130 | 85 | 100 |
| 6 | CharizardMega Charizard Y | FireFlying | 634 | 78 | 104 | 78 | 159 | 115 | 100 |
| 7 | Squirtle | Water | 314 | 44 | 48 | 65 | 50 | 64 | 43 |
| 8 | Wartortle | Water | 405 | 59 | 63 | 80 | 65 | 80 | 58 |
| 9 | Blastoise | Water | 530 | 79 | 83 | 100 | 85 | 105 | 78 |
| 9 | BlastoiseMega Blastoise | Water | 630 | 79 | 103 | 120 | 135 | 115 | 78 |
| 10 | Caterpie | Bug | 195 | 45 | 30 | 35 | 20 | 20 | 45 |
| 11 | Metapod | Bug | 205 | 50 | 20 | 55 | 25 | 25 | 30 |
| 12 | Butterfree | BugFlying | 395 | 60 | 45 | 50 | 90 | 80 | 70 |
| 13 | Weedle | BugPoison | 195 | 40 | 35 | 30 | 20 | 20 | 50 |
| 14 | Kakuna | BugPoison | 205 | 45 | 25 | 50 | 25 | 25 | 35 |
| 15 | Beedrill | BugPoison | 395 | 65 | 90 | 40 | 45 | 80 | 75 |
| 15 | BeedrillMega Beedrill | BugPoison | 495 | 65 | 150 | 40 | 15 | 80 | 145 |
Variables and their description within the pokemon data
| Name | Description |
|---|---|
| Pokedex | Assigned National Pokedex Number |
| Name | Name of Pokemon |
| Type | Pokemon Type |
| Total | Total of HP, Attack, Defense, SP. Atk, SP. Def |
| HP | Health |
| Attack | How powerful a physical move will be |
| Defense | How well a given pokemon defends agaisnt physical moves |
| SP. Attack | Special attack of a given special move |
| SP. Defense | How well a given pokemon defends against a special move |
| Speed | Decides which pokemon acts first in a given battle |
Now that the datatable is scrapped and made into a dataframe. It can now be used to analyze or fun visualizations can be made to see certain correlations or how certain pokemons stack up against each other.
Visualization 1
This visualization was done to see if there were any relationships between any of the stats. In this one I looked at speed and attack. Does the faster pokemon usually pack the heaviest punch?
Visualization 2
I wanted to see another correlation about defense and health. We can generally see that if a pokemon has more defense it will also scale with its health.
Visualization 3
What are the top pokemon by total stats? Total stats are just HP, Defense, Attack, etc., all combined into one number. So if you were to add them all up, you would get one total stat. This chart shows the top 10 pokemon by total stat. You can see that every pokemon in the top 10 category is a legendary pokemon but the most interesting one is how much stronger Eternatus Eternamax is among other legendary pokemon.
Visualization 4
Here I wanted to see what type of pokemon are dominating in a certain stat category. In this case I wanted to see which pokemon type usually has the most Health Points. This visualization shows that the Normal type dominates the HP category
Visualization 5
Instead of seeing which types or pokemon were the best in their category, I wanted to see which pokemon were the worst in a given category. In this I selected the speed stat and visualized which pokemon were the slowest and their respective speed stat.