Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

P5js Dotplots

Public visualization

P5js Dotplots

0 stars1🌍 Public
Ddriftcafe
Last edited Feb 15, 2022
Created on Feb 8, 2022
Forked from p5.js example

This example shows the average horsepower of six German car brands as dot plots, with each brand’s value represented by a steelblue circle on a grid. The brands are listed vertically on the left, while the horizontal axis is labeled from 50 to 500 horsepower. The p5.js sketch loads data from a CSV file using `loadTable()`, then in `draw()` it renders the grid lines, labels, and circles based on the parsed values. The code uses p5.js 1.4.0, including the canvas API and text and shape functions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed