Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

415225c36c644c78aece4b94e25ccbae

Activity6_Task2

0 stars0🌍 Public
GGOPI MUPPURI
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This stacked bar chart illustrates how movie ratings are distributed across genres, with each bar segment representing the percentage of ratings within a specific range, from below 5.0 to above 8.5. The visualization uses D3.js (v6) with SVG rendering, employing d3.stack() to aggregate the data and d3.scaleBand for the categorical y-axis. Hovering over any segment triggers a tooltip displaying the exact percentage for that rating level within the selected genre. The data originates from a CSV file containing genre-based rating proportions.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.