Skip to main content
100%

Total Sales Interactive Stacked Bar Charts

✓ Published1🌍 Public
Mmacgregorm01@gmail.com
Last edited Nov 13, 2024
Created on Nov 13, 2024
Forked from Article Starter

Three interactive stacked bar charts display total sales from the Shopping Habits Dataset, broken down by states and seasons, states and genders, and seasons and genders. Built with Vega-Lite and embedded via VizHub, each chart uses interactive tooltips and legends to explore aggregated sales totals. The bars are stacked to show component contributions, with color encoding mapping categorical dimensions. The visualizations are rendered declaratively, leveraging Vega-Lite’s JSON specification to compute and display the aggregated data without custom JavaScript.

AI-generated description

This is a display of three interactive stacked bar charts derived from the Shopping Habits Dataset

These charts visualize the total sales corresponding to different states, seasons, and genders.

Total Sales by State and Season

<iframe src="https://vizhub.com/mjmacgregor/stacked_bar_state_season?mode=embed" width="960" height="500" scrolling="no" frameborder="no"></iframe>

Total Sales by State and Gender

<iframe src="https://vizhub.com/mjmacgregor/stacked_bar_state_gender?mode=embed" width="960" height="500" scrolling="no" frameborder="no"></iframe>

Total Sales by Season and Gender

<iframe src="https://vizhub.com/mjmacgregor/stacked_bar_season_gender?mode=embed" width="960" height="500" scrolling="no" frameborder="no"></iframe>
MIT Licensed

Similar vizzes