Skip to main content
100%

Activity 6 Question 3

✓ Published0🌍 Public
Aabjalshaik02@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This stacked bar chart visualizes car makes by their aggregated ratings in horsepower, torque, and highway MPG. Each bar is segmented by color to represent the contribution of each metric, with tooltips displaying the exact values. Built with D3 v7, it uses `d3.stack()` to process the CSV data and `d3.scaleOrdinal()` for color mapping, while axes and labels are rendered via `d3.axisLeft` and `d3.axisBottom`.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes