Franchise Revenues (Category and Total) with Selectable Color Axis
This interactive scatterplot displays franchise revenues across categories and totals, with selectable axes for X, Y, and color encoding. Users can switch between revenue, total revenue, revenue category, original media, and year created using React dropdowns. The visualization uses D3 v5 scales to map data from the Tidy Tuesday Franchise Revenue dataset to SVG circles, with a legend showing eight generalized media types. Marks include opacity to reveal overlapping categories when viewing total revenue across the color axis, with hover tooltips showing franchise names.
AI-generated descriptionThis visualization was originally forked from one of Curran Kelleher's menu 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 extends the last by allowing the user to select either category revenue (for a franchise's specific categories like Box Office or Video Games) or total revenue (across the entire franchise). It also allows for selection of the color axis, introducing the revenue category as a selectable item.
The marks now incorporate opacity for two reasons. The first is to help visibility of closely-packed data points, especially if category revenue is selected. The second is to highlight interesting behavior when viewing total revenue by revenue category; this superimposes each category, and the "dirtier" the data point's color, the more categories the franchise has. It's not the final look I want, but it's a cool observation in the interim.
Original Media is now grouped into 8 generalized types, and the legend color palette is updated.