Heat Chart of P5 CSV Loader in CS 360
✓ Published1🌍 Public
Hhxu51@usfca.edu
Last edited Feb 4, 2025
Created on Feb 4, 2025
This heat chart visualizes average fuel economy (mpg) across model years and cylinder counts from a CSV dataset of cars. The p5.js `loadTable()` function fetches the data, while `createCanvas()` and `rect()` draw the color-coded grid. Cell colors map from blue to orange using `map()`, with gray indicating missing year-cylinder combinations. The axes labels and title are rendered using p5.js `text()`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed