Skip to main content
100%

Activity6_Q_3

✓ Published0🌍 Public
Aadapasaidivya99@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Activity6_Task2

This stacked bar chart displays the combined ratings of horsepower, torque, and highway MPG for various car makes, with each make represented as a horizontal bar segmented by metric. Built with D3 v7, the visualization uses `d3.stack()` to prepare the data and a `d3.scaleOrdinal()` color scale to distinguish the three metrics. Tooltips appear on mouseover, showing the specific metric value for each segment. The data is loaded from a local `bubblechart.csv` file and rendered as SVG.

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

Similar vizzes