Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 2_Questions

Public visualization

Viewing a saved revision (read-only)

9c0e214eec354b54928d87b0707b3181

Activity 6_Task 2_Questions

0 stars0🌍 Public
RRishithaGarnepudi@my.unt.edu
Last edited Oct 20, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

A stacked horizontal bar chart visualizes the distribution of IMDb ratings across eight movie genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5." The chart reads values from a CSV file using D3's `d3.stack` and `d3.scaleBand` for the genre axis, while `d3.scaleLinear` handles the percentage axis. Color-coded segments use `d3.scaleOrdinal`, and interactive tooltips appear on mouseover via D3 v7 event handlers, displaying the exact percentage for each rating segment.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart gives the student's marks depending on their study hours. The aim is to show the impact of study hours on student's marks. When the mouse hovers over each bar, you can see pop-ups of accurate marks of each student of the study hours. Total percentage is 1, representing 100%.