Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 3 Box Plot

Public visualization

Viewing a saved revision (read-only)

eab2ccbdab764be29a6f561a6f1f98d2

Assignment 3 Box Plot

0 stars1🌍 Public
Aahuynh8@dons.usfca.edu
Last edited Feb 13, 2024
Created on Feb 13, 2024

A box plot visualizes the distribution of HP values for Pokémon, displaying the minimum, first quartile, median, third quartile, and maximum as horizontal line segments connected by whiskers. The chart uses the p5.js library within a single sketch, loading Pokémon statistics from a CSV file via the `loadTable` function. Data is sorted, quartiles are computed manually, and the plot is drawn on a 500-by-700 canvas with a background grid, axis labels, and rotated text for the y-axis label.

AI-generated description