Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CS360 A2 dotplot

Public visualization

Viewing a saved revision (read-only)

1eb39ca2f15e4eb681991de7796b70e8

CS360 A2 dotplot

0 stars0🌍 Public
EEric Yao
Last edited Feb 6, 2024
Created on Feb 6, 2024
Forked from CS360 A2 Bar Chart

A dot plot compares smoking rates between the United States and China by plotting each country's male and female percentages as blue and red circles. The p5.js sketch loads CSV data from a GitHub Gist, computes axis ranges from the data, and renders labeled axes with percentage ticks. It maps data coordinates to canvas positions to show the relationship between genders for each country. A legend identifies the two countries, while the chart title and axis labels clarify the visualization's purpose.

AI-generated description

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

See also React Starter.