🌍 Public
Viewing a saved revision (read-only)
5da12758224d42ba81d5b756d3474df4
CS360 A2 dotplot
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 descriptionTried to add hover to see the year of each data point, did not work... Would have made the graph more readable and allowed for better tren