Histogram
✓ Published0🌍 Public
This histogram visualizes the count of video games per genre from a CSV dataset fetched via p5.js’s `loadTable`, limited to the first 50 single-genre entries. Using the Canvas API, it draws colored rectangles for each genre’s frequency, with axis labels and gridlines. An interactive button randomizes the fill color, and hovering over a bar triggers a tooltip displaying the genre and its count, implemented through p5.js’s `mouseX`/`mouseY` and `text` functions.
AI-generated descriptionThis histogram shows the amount of games per genre. The data set has been modified to show only the first 50 games in the csv file that contain only a single genre.
MIT Licensed