Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars0🌍 Public
RRiya Mathur
Last edited Feb 6, 2024
Created on Feb 2, 2024
Forked from HTML Starter

This bar chart shows the number of billionaires per geographic region, with sky-blue bars drawn on a 1200×600 canvas using the p5.js API. The data comes from a CSV file loaded via `loadTable()` in the `preload()` function, and counts are aggregated from the `location.region` column. The visualization includes labeled x- and y-axes with tick marks, using `map()`, `rect()`, and `text()` to position bars and annotations. It is built as a React starter example, though the rendering logic here runs directly within p5.js sketch instructions.

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