box plot A3
This visualization displays the distribution of monthly rainfall data using a box plot. It presents five key statistics—minimum, first quartile, median, third quartile, and maximum—computed from the dataset. The code loads rainfall values from a CSV file using p5.js’s `loadTable()` function, calculates the quartiles with a custom quantile function, and renders the plot on an 800×400 canvas. The p5.js drawing API constructs the box, median line, whiskers, and caps, with the median value labeled beside the plot. The visualization is titled "Rainfall Distribution" and uses a scaling factor of 50 to map data values to canvas coordinates.