Skip to main content
100%

Box Plot - Distribution of Base Salary in SF (2011-2014)

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

This visualization uses box plots to show the distribution of mean annual base salaries across salary ranges for San Francisco municipal employees from 2011 to 2014. The p5.js canvas organizes data into $50,000 bins along the x-axis, with each box displaying quartiles, minimum, and maximum values. A toggle button reveals or hides median markers across the plot. The data is loaded from a Kaggle-hosted CSV, and the code computes quartiles and bins using custom array-processing functions.

AI-generated description
MIT Licensed

Similar vizzes