Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

9514c9b58a9d496b8e36562b20f9b3cc

Activity6_Task2

0 stars0🌍 Public
AAreeba Hassan
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of IMDb rating categories across six movie genres, revealing how genre influences audience scores. Each genre’s bar is divided into five rating segments, from “below 5.0” to “above 8.5,” with hover tooltips displaying exact percentages. The visualization uses D3 v7’s `d3.stack()` for data stacking, `d3.scaleLinear` and `d3.scaleBand` for axes, and SVG rendering. Data comes from a CSV file, with a custom tooltip providing interactive detail on mouseover.

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.