Skip to main content
100%

Activity6_q2

✓ Published1🌍 Public
Nnumitha
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from 222

This stacked bar chart visualizes the percentage distribution of five sales performance categories (Below 100, 100-500, 500-1000, 1000-5000, Above 5000) across six product categories, showing how sales outcomes vary by product type. Using D3.js v7 with SVG rendering, the chart employs `d3.stack()` to generate stacked segments and `d3.scaleOrdinal()` for color encoding. Interactive tooltips appear on mouseover, displaying the exact percentage for each segment. The data comes from a local CSV file, and the visualization uses linear and band scales for positioning.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart gives the percentage of each Category level within different Category. The aim is to show the impact of Category on Sales performance. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each sales performance within each Category. Total percentage is 1, representing 100%.

MIT Licensed

Similar vizzes