Skip to content

ed-word/Pokemon-Stats_Comparison-Visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokemon Data Visualization

Pokemon Stats Kaggle Dataset

My Kernel https://www.kaggle.com/edword/d/abcsds/pokemon/stats-comparison-3d-scatter-plot

This dataset includes 721 Pokemon. The various types of Pokemons in this dataset are:

  1. Grass
  2. Fire
  3. Water
  4. Dragon
  5. Flying
  6. Steel
  7. Rock
  8. Ice
  9. Electric
  10. Bug
  11. Normal
  12. Ground
  13. Fighting
  14. Ghost
  15. Dark
  16. Psychic
  17. Fairy
  18. Poison

Python Program to analyse the Pokemon Dataset and

  • Plot the average power for each Pokemon type in the form of a Bar chart.
  • 3D Scatter Plot for all Pokemons based on Attack, Defense and HP.

This program makes use of libraries such as:

  • Pandas
  • Matplotlib
  • Numpy
  • mpl_toolkits.mplot3d (Axes3D)

Average Power of each type:

  1. Dragon              550.53125
  2. Grass                 421.14285714285717
  3. Ghost                439.5625
  4. Steel                 487.7037037037037
  5. Electric            443.40909090909093
  6. Dark                  445.741935483871
  7. Rock                 453.75
  8. Water               430.45535714285717
  9. Normal            401.68367346938777
  10. Bug                   378.92753623188406
  11. Fighting           416.44444444444446
  12. Fairy                  413.1764705882353
  13. Flying                485.0
  14. Poison              399.14285714285717
  15. Ice                      433.4583333333333
  16. Fire                    458.0769230769231
  17. Ground            437.5
  18. Psychic            475.94736842105266

Colors Used To Represent Pokemon types http://www.epidemicjohto.com/t882-type-colors-hex-colors

enter image description here


3D Scatter Plot of all Pokemons

 1. X-axis: Attack
 2. Y-axis: Defense
 3. Z- axis: HP


Comparison Of Attack, Defense, HP and Speed

enter image description here


Average Power comparison

  • Grass Type, Fire Type and Water Type Pokemons.

  • Dragon, Flying, Steel, Rock, Ice Type comparison

  • Electric, Bug, Normal, Ground, Fighting Type comparison

  • Ghost, Dark, Psychic, Fairy, Poison Type comparison