Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_q2

Public visualization

Viewing a saved revision (read-only)

5aa08cf4baff415e94ac8f54fe1936a8

Activity6_q2

0 stars0🌍 Public
Rrakshithareddy217@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

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 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.