Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

bar chart

Public visualization

bar chart

0 stars0🌍 Public
KKwasi Acquaye
Last edited Feb 6, 2024
Created on Feb 6, 2024
Forked from Circles with D3

This bar chart displays global sales figures for nine video games, using horizontal positioning to rank titles like Call of Duty: Black Ops 3 and FIFA 16. Built with p5.js, the sketch loads a CSV file via `loadTable` in `preload()`, then renders rectangles with the `rect()` API, mapping sales values to bar heights. Y-axis labels are drawn programmatically, while game names appear rotated beneath each bar, with axis margins defined as constants.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed