🌍 Public
Viewing a saved revision (read-only)
d707b412af24433ca85f0e77e06a02b1
Q2
This graphic shows a stacked horizontal bar chart comparing car makes across three attributes: horsepower, torque, and highway MPG. The bars are segmented by attribute, with segments colored red, yellow, and gray, and arranged along a categorical axis of car makes. The chart uses D3 v7’s `d3.stack()` with `stackOrderNone` to compose the segments, and scales attributes to a linear x-axis. The SVG rendering includes a legend and rotated y-axis labels, with data sourced from a local CSV file.
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.