Activity-6 Q2.3
✓ Published0🌍 Public
This example displays a stacked bar chart that visualizes survey responses by categorizing them into positive and negative feedback across "Yes" and "No" output groups. The code loads Chart.js and renders the chart to a canvas element using the `Chart` API with a bar type. It presents two datasets for positive feedback (teal) and negative feedback (red), each with hardcoded values, and configures both axes for stacked scaling.
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