Skip to main content
100%

activity6_question2.1

✓ Published0🌍 Public
Nnishwitha.1032@gmail.com
Last edited Oct 22, 2024
Created on Oct 21, 2024
Forked from IMDb Movie ratings

This stacked bar chart displays car specifications—horsepower, torque, and highway mpg—for manufacturers like Scion, Kia, and Ferrari. Each horizontal bar uses segments scaled by value, with a legend mapping colors to specifications. The visualization is built with D3 v7, using d3.stack() to aggregate data and d3.scaleOrdinal() for colors. Hovering over segments dims them and a tooltip shows exact values. Data comes from the included data.csv file and renders as SVG.

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