Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

TASK.8_TUTORIAL-2_Sahith

Public visualization

Viewing a saved revision (read-only)

a72bf9b8e3b248f08f9e00539ef3e584

TASK.8_TUTORIAL-2_Sahith

0 stars0🌍 Public
Mmanisahiths54321@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Act_6_tut_2

This stacked bar chart demonstrates how movie ratings vary across genres, revealing that documentaries and animations achieve higher proportions of excellent ratings while action films are heavily skewed towards poor ones. The visualization loads CSV data and uses D3.js v7 APIs including `d3.stack`, `d3.csv`, `d3.scaleOrdinal`, `d3.scaleBand`, and `d3.scaleLinear` to render the SVG. Interactive tooltips appear on hover, displaying the precise percentage for each rating category within a genre.

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%.