π Public
CS360 A2 Dot Plot
This visualization plots the percentage of men against the percentage of women in the populations of the United States and China, with each country's data points rendered in a distinct color. The chart includes labeled axes and tick marks that map the data range. The visualization is built with p5.js, using its `createCanvas`, `map`, and `ellipse` functions to draw the plot. Data is loaded from a CSV file via the `loadTable` function and processed in the `setup` and `draw` methods.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed
Comments
Sign in to join the discussion.