Skip to main content
100%

Q2

✓ Published0🌍 Public
Nnsairitwikreddy@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity-6

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

Similar vizzes