Skip to main content
100%

activity 6_question 2

✓ Published0🌍 Public
Ssindhureddykandada@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes