Skip to main content
100%

Display barChart: Total Worth in Billions v/s Year

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

This interactive bar chart, built with p5.js, displays the total worth of billionaires in billions of U.S. dollars by year. The data comes from a CSV file (billionaires.csv) containing entries from 1996, where each year’s total worth is calculated by summing the 'worth in billions' column for all billionaires in that year. The visualization uses a fixed canvas with axes labeled "Year" and "Total Worth in Billions," and maps each year to a vertical pink bar. A tooltip showing the year and total worth appears when hovering over a bar, and the bar changes color to red for feedback. The chart also includes grid lines, axis labels, and a circle that tracks the mouse position.

AI-generated description

Similar vizzes