Skip to main content
100%

Task-8Q2

✓ Published0🌍 Public
Rreddyswethuvahana@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Task-8(Question-2)

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

Similar vizzes