Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Dot Plot

Public visualization

Viewing a saved revision (read-only)

0f0c38ac2f944cdb85c50417eebdcfa4

Dot Plot

1 star0🌍 Public
CChandana Srinivas
Last edited Apr 8, 2024
Created on Feb 4, 2024
Forked from HTML Starter

A dot plot visualizes the average impact magnitude of earthquakes across different locations, filtering to show only those with magnitudes above 4.0 and highlighting the highest values in black. The p5.js sketch loads earthquake data from a CSV file, computes averages per location, and renders labeled dots along a scaled axis in a canvas. It uses `createCanvas`, `loadTable`, and `point` to draw the plot, with horizontal grid lines and tick marks for magnitude values ranging from 4.0 to 5.0.

AI-generated description

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

See also React Starter.