Skip to main content
100%

Week 2: Pokemon Base Stats Dataset

✓ Published6🌍 Public
JJacob Chlebowski
Last edited Sep 8, 2024
Created on Aug 30, 2024

Using a scrollable preformatted text block, this example displays the complete Pokémon Base Stats dataset as a raw JSON file. The interactive element is a simple font-size control. The code parses string values for eleven numeric columns, including Speed, Attack, and Defense, into numbers, and then uses `JSON.stringify` to render the entire array of 144 Pokémon records for inspection. It relies on the custom CSV-to-JavaScript data import functionality and standard document object model (DOM) methods for styling and display.

AI-generated description

Author: Jacob Chlebowski - jachlebowski@wpi.edu

The Pokemon Base Stats Dataset

Tasks:

  • I want to summarize all Pokémon in the dataset via a scatter plot matrix (4 quadrants: speed and offensiveness)
  • I want to search (lookup) the Pokémon that have a speed of 150+, among other attributes
  • I want to derive a new Pokémon by combining two existing ones (mean of each attribute)
  • I want to record a new Pokémon with all new attributes (catch rate, species, type, etc.)
  • I want to identify a single Pokémon on a scatter plot
MIT Licensed

Similar vizzes