Activity6_Q_3
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed