Skip to main content
100%

as3_c1_p5.js

✓ Published0🌍 Public
OOlha
Last edited Feb 14, 2022
Created on Feb 14, 2022
Forked from HTML Starter

This example visualizes the distribution of MPAA ratings from a movie dataset using p5.js. It loads CSV data from a GitHub gist in `preload()`, counts occurrences of each rating in `setup()`, and renders vertical bar charts on a canvas. The sketch draws grid lines, axis labels, and colored rectangles for each rating value, with text annotations for counts and categories. The bars are positioned manually using numeric calculations rather than a charting library, with axes drawn using p5.js primitives like `line()`, `rect()`, and `text()`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes