Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of A6-Bar Graph w/ Color

Public visualization

Fork of Fork of A6-Bar Graph w/ Color

0 stars0🌍 Public
NNita
Last edited Feb 27, 2025
Created on Feb 27, 2025

This visualization presents weekly Broadway gross earnings for shows from 1990–1991, initially as a bar chart where bar height encodes gross revenue. Users can switch among eight chart types through a dropdown menu. The code uses d3.csv to load data, d3.scaleBand and d3.scaleLinear for bar positioning, and d3.scaleOrdinal with d3.schemeCategory10 for color coding by show name. Hovering bars triggers a tooltip revealing details.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed