Activity_6_Task2_Q2
This stacked bar chart visualizes the distribution of horsepower, torque, and highway MPG across 31 car makes, using d3.stack with d3.scaleBand for the y-axis and d3.scaleLinear for the x-axis. Each bar segment represents one attribute, colored via d3.scaleOrdinal, and hover interactions display the precise attribute value in a tooltip. The SVG renders data from a local CSV, with axes, labels, and gridlines styled using D3’s axis methods and external fonts.
AI-generated descriptionCar Attributes by Make Visualization
This stacked bar chart gives the value of each attribute within different cars makes. The purpose is to highlight the distribution of these key attributes across various car manufacturers, giving insights into their performance characteristics. When the mouse hovers over each bar, you can see pop-ups of accurate value of each attribute within each car makes.