{"version":"1.0","type":"rich","title":"Visualizing Distributions using P5 (Histogram)","description":"This example visualizes the age distribution of centenarians using a histogram rendered with p5.js. The sketch loads centurians.csv from a GitHub gist, bins ages into four ranges, and draws bars whose heights reflect frequency counts. The code uses p5.js functions like `loadTable`, `createCanvas`, and `rect`, along with mouse-hover detection to display the count for each bar. Axes, labels, and gridlines are drawn manually with p5.js drawing primitives.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c4422a0674484665ade767b76b283e77?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}