Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

9b217e628ab74e8393842f7d77293bff

Activity6_Task2

0 stars1🌍 Public
Rramsrinivaskatragadda@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5." Each genre’s row represents the percentage proportion of movies falling into each rating band, normalized to sum to one. Built with D3 v7, the visualization uses `d3.stack()` to compute the stacked series, `d3.scaleLinear()` for the percentage axis, `d3.scaleBand()` for genre categories, and `d3.scaleOrdinal()` with a five-color palette. Interactive tooltips display the exact percentage per category on hover, while SVG rendering handles all graphical output.

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.