Skip to main content
100%

CS360 A3 Strip Chart

✓ Published0🌍 Public
EEric Yao
Last edited Feb 13, 2024
Created on Feb 13, 2024
Forked from CS360 A3 Histogram

This example displays a histogram of average math SAT scores for each U.S. state, using data from a CSV file loaded via p5.js’s `loadTable` function. The chart divides scores into bins of 20 points, from 380 to 620, and renders blue bars with grid lines and labeled axes on a canvas created by `createCanvas`. The code uses p5.js’s `map` and `normalize` functions to scale frequencies and positions, with text labels drawn via `text` and rotated for the y-axis title.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes