Skip to main content
Public

Share visualization

Loading preview…

Dot Plot with p5.js

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Dot Plot with p5.js

0
OOlha
Last edited Dec 5, 2022
Created on Feb 8, 2022
Forked from HTML Starter

This dot plot visualizes ticket sales for the “Movie of the Year” from 1995 to 2021, with each green circle positioned along a horizontal axis scaled in millions and labeled by year. The example uses the p5.js library within a React framework, loading CSV data via the `loadTable()` API and rendering circles with `circle()`. Grid lines, axis labels, and movie titles are drawn using canvas drawing methods, while the data source is fetched from a GitHub Gist URL.

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