Skip to main content
100%

Activity_6_Task2_Q2

✓ Published0🌍 Public
Vvarmanithish5@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity_6_Task2

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 description

Car 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.

MIT Licensed

Similar vizzes