Q2
✓ Published0🌍 Public
This stacked horizontal bar chart displays the average values for horsepower, torque, and highway MPG across 27 car manufacturers. The chart uses D3 v7’s `d3.stack` and `d3.scaleOrdinal` to segment each manufacturer’s bar into three colored sections, with a legend identifying each attribute. Data is loaded from a local CSV file and rendered as SVG. The horizontal axis is scaled linearly, while the vertical axis lists car makes, with axis labels rotated for readability.
AI-generated descriptionMIT Licensed