A2 Heat Map
✓ Published0🌍 Public
This heat map visualizes residential wood consumption across seven U.S. states over ten years (2010–2019), using orange squares whose opacity scales with the data value. Built with p5.js, it loads CSV data from a GitHub URL, draws axes and labels, and relies on the canvas API (`createCanvas`, `square`, `fill`) for rendering. Hovering over a square displays the specific value and a wood emoji via p5’s `mouseX`/`mouseY` checks and `text` function.
AI-generated descriptionA blank slate starting point showing the "Hello World" for the VizHub V3 Runtime Environment, which supports continuous hot reloading with interactive widgets.
- There is no
index.html- that's what triggers the V3 Runtime - The entry point is the
mainfunction exported fromindex.js - The
mainfunction takes an argumentcontainer, a DIV
Full course playlist: YouTube: Constructing Visualization 2024.
MIT Licensed