Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Histogram with p5.js

Public visualization

Fork of Histogram with p5.js

0 stars0🌍 Public
Mmhzahdeh@dons.usfca.edu
Last edited Feb 9, 2025
Created on Feb 9, 2025

This visualization displays the number of cylinders for various car models as a series of vertical bars, with each bar labeled by the corresponding car name. The chart uses p5.js to load car data from a CSV file via `loadTable()`, then draws the bars and axes using `rect()` and `line()` within the `draw()` loop. The sketch includes a fixed canvas size, grid lines, and axis labels to contextualize the values, while the data is fetched from a remote GitHub Gist containing car specifications.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed