Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task8_tutorial2

Public visualization

Viewing a saved revision (read-only)

56301740fe404d51a9160c956a809f7e

Task8_tutorial2

0 stars0🌍 Public
Ppogirimayoor@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from IMDb Movie ratings

This visualization displays the daily hours spent by five people across five activity categories—work, exercise, socializing, chores, and leisure—as a stacked horizontal bar chart. The chart uses a linear x-axis for hours (0–24) and a categorical y-axis for each person, with interactive tooltips showing percentage values on hover. The example employs D3 v7’s `d3.stack` for data stacking, `d3.scaleBand` for the categorical axis, `d3.scaleOrdinal` for category colors, and SVG rendering with custom CSS for styling.

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