Skip to main content
100%

Histogram

✓ Published0🌍 Public
DDominic Fernandez
Last edited Feb 11, 2022
Created on Feb 11, 2022
Forked from HTML Starter

This histogram displays the distribution of base pay for San Francisco city employees from 2011 to 2014, using p5.js to load a CSV dataset and render the visualization on an HTML canvas. The code processes the data into bins of $25,000 increments, calculates frequency counts, and scales bar heights proportionally to the count axis. Axes with labeled intervals and value labels are drawn using p5.js drawing functions, with salary values formatted in a compact "k" notation for readability.

AI-generated description
MIT Licensed

Similar vizzes