Fork of Activity6_q3
✓ Published0🌍 Public
This stacked bar chart visualizes car make ratings by comparing three metrics—horsepower, torque, and highway MPG—for each brand. Using d3.stack and d3.scaleBand, the horizontal bars aggregate total ratings per make, with color-coded segments for each metric. Interactive tooltips display exact values on mouseover. The chart loads data from a CSV file, leveraging D3 v7's d3.csv and scaleOrdinal for consistent color mapping.
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