Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stacked Franchise Revenues by Revenue Category

Public visualization

Stacked Franchise Revenues by Revenue Category

0 stars2🌍 Public
Vvwm
Last edited Oct 30, 2019
Created on Oct 24, 2019

This stacked bar chart shows franchise revenues broken down by revenue category, with each bar segment representing a category and the full bar height showing total revenue. An interactive legend allows users to highlight specific categories, dimming others and displaying tooltips with precise billion-dollar figures. Built with D3.js version 3, it uses d3.layout.stack for stacking, d3.legend for the color legend, and d3-tip for hover details. The data comes from Tidy Tuesday’s July 2, 2019 franchise revenue dataset, rendered as an SVG with animation support.

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.

Comments

Sign in to join the discussion.

MIT Licensed