activity 6_question 2
✓ Published0🌍 Public
This example visualizes daily transaction counts for multiple stores as a stacked bar chart. It shows how each store contributes to the total transactions on each date between January 1 and January 5, 2013. The chart uses D3 v6 to load CSV data, group records by date and store number, and stack the values with `d3.stack()`. It renders SVG rectangles with scales for positioning and colors from `d3.schemeCategory10`, alongside axes and a legend.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed