🌍 Public
Viewing a saved revision (read-only)
1158d8cfa706443583be6c48bbdf526c
Heat Map
This heat map visualizes the average Uber fare amount for different passenger counts across the years 2009 to 2015, with color intensity indicating fare value (green shades for $9–13+) and a toggleable overlay that reveals exact dollar amounts. Built with the p5.js library, it loads a CSV dataset, aggregates fare averages per year and passenger count, and renders colored rectangles in a grid using the `rect` and `fill` functions. A legend on the right maps colors to fare ranges, while axis labels clarify that rows represent years and columns represent passenger counts.
AI-generated description