Skip to main content
100%

ACTIVITY 6 tutorial 2 Bhavani mandula

✓ Published0🌍 Public
Bbhavanimandula@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from IMDb Movie ratings

This stacked bar chart displays the average horsepower and torque for various car makes, revealing performance differences across brands. The chart uses d3.stack() and d3.scaleBand to segment each bar, with d3.scaleLinear for the y-axis and d3.scaleOrdinal for color encoding. Hovering over a bar triggers a pop-up with exact percentages, though the code currently omits the tooltip implementation. Data is sourced from the provided CSV file, and rendering uses SVG elements generated by D3 v7.

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