Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q2

Public visualization

Viewing a saved revision (read-only)

c0eb0a4b7d634d03b2c1e4445f625d7a

Q2

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

A horizontal stacked bar chart displays average horsepower, torque, and highway MPG for 31 car makes, sorted by combined performance. Each bar segment is colored by metric, with light pink for horsepower, light blue for torque, and turquoise for highway MPG. The chart is built with Chart.js using a canvas element, parsing the bubblechart.csv file via PapaParse. Data is grouped and averaged per make before rendering, with tooltips showing precise values to two decimal places.

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.