Skip to main content
100%

task2_question3

✓ Published0🌍 Public
VVrushikaKanaparthy@my.unt.edu
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This stacked bar chart shows how horsepower, torque, and highway MPG values contribute to the total specifications for each car manufacturer, with each bar segment colored by specification type. The visualization uses d3.stack() to compute the stacked series, d3.scaleLinear and d3.scaleBand for positioning, and built-in SVG mouse events with a tooltip to display exact segment values on hover. A legend identifies the three color-coded specifications, while the x-axis represents the cumulative value scale. Data comes from a CSV file loaded directly into the d3.v7 environment.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.

MIT Licensed

Similar vizzes