Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Histogram

Public visualization

Viewing a saved revision (read-only)

b1c387e946ec4ef28ab9437fcc50837c

Histogram

0 stars0🌍 Public
AAllen Ho
Last edited Feb 13, 2024
Created on Feb 6, 2024
Forked from HTML Starter

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 description

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

See also React Starter.