Skip to main content
100%

Bar Graph

✓ Published0🌍 Public
SShayRomayo
Last edited Feb 17, 2018
Created on Feb 17, 2018

This bar graph displays the number of graduates in each major category for a selected year, with bars colored teal and axes labeled from the dataset’s header row. Built with p5.js, it loads a CSV file (`graduates.csv`) via `loadTable`, maps numeric values to pixel heights using `map`, and draws the chart in a 3000×1000 canvas. Mouse hover reveals the exact count for each major, while a loop dynamically extends the x-axis across all rows.

AI-generated description

Similar vizzes