Skip to main content
100%

Stacked Franchise Revenues by Revenue Category

✓ Published3🌍 Public
Yyuzhang21
Last edited Oct 24, 2019
Created on Oct 24, 2019

This stacked bar chart displays franchise revenues by revenue category, with bars segmented by category and a color legend that highlights individual layers on hover. The visualization, rendered as SVG, uses D3.js to scale the x-axis in billions and the y-axis by franchise name, with tooltips providing exact revenue figures. It incorporates the d3.legend and d3.tip APIs for interactive legend highlighting and informative tooltips, while the data comes from Tidy Tuesday’s 2019 franchise revenue dataset. The chart is built upon a forked stacked bar example, layering semi-transparent overlays to emphasize selected categories during mouse interaction.

AI-generated description

This 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.

MIT Licensed

Similar vizzes