🌍 Public
Viewing a saved revision (read-only)
5aa08cf4baff415e94ac8f54fe1936a8
Activity6_q2
This horizontal stacked bar chart compares three performance metrics—horsepower, torque, and highway MPG—across 31 car makes, sorted by their combined total. Each make’s bar segments show the average value for each metric, with red, green, and yellow segments representing horsepower, torque, and MPG respectively. The visualization is rendered using Chart.js with PapaParse handling the CSV data from `bubblechart.csv`. The chart uses stacked horizontal bars with the `indexAxis` option set to `'y'`, displaying tooltips that show precise numeric values for each segment.
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.