Fork of Stacked Franchise Revenues by Revenue Category
This stacked bar chart visualizes franchise revenue by category across different franchises, using data from TidyTuesday. The visualization, built with d3.js, shows revenue categories as stacked segments within each bar. Interactive highlighting is implemented by hovering over the legend, which fades out other categories while keeping the hovered one prominent. The chart uses d3.legend for the interactive color legend, d3.tip for tooltips on hover, and custom axis formatting that converts the revenue scale to billions.
AI-generated descriptionThis visualization was originally forked from one of Curran Kelleher's stacked bar chart examples and modified to include Franchise Revenue data which originates from R for Data Science's Tidy Tuesday weekly event for July 2, 2019.
This visualization serves as a companion chart to the previous scatter plot, contrasting its view with a stacked bar chart and a legend with interactive highlighting. The next goal is to combine the two visualizations, their styles, and their techniques into one cohesive view.