🌍 Public
Viewing a saved revision (read-only)
6f1ddca6c93d4b898012d5226c6b0421
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.