Skip to main content
100%

Activity6_q3

✓ Published1🌍 Public
Jjahnavigummadi@my.unt.edu
Last edited Oct 19, 2024
Created on Oct 19, 2024

This stacked bar chart displays the total ratings for different car makes, broken down into horsepower, torque, and highway MPG segments. Using the d3.stack() function and d3.scaleOrdinal for color encoding, the chart renders in SVG format. The d3.scaleBand and d3.scaleLinear axes position the bars, while mouseover events trigger a tooltip showing the individual metric values. Data comes from the bubblechart.csv file, loaded via d3.csv.

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