🌍 Public
Viewing a saved revision (read-only)
9fcf7a0e7146448cbb6bf147827b8b76
Task-8Q2
This chart visualizes horsepower, torque, and highway MPG for various car makes using a horizontal stacked bar chart. Each bar represents a single car brand, with segment lengths proportional to the three attribute values. The visualization uses D3.js v7 with SVG rendering, employing `d3.stack()` to aggregate the data from a CSV file. The scales are created with `d3.scaleLinear` and `d3.scaleBand`, while `d3.axisLeft` and `d3.axisBottom` generate the axes.
AI-generated description