Skip to main content
100%

Activity06_Task02

✓ Published1🌍 Public
Bbharatchowdarypotluri@my.unt.edu
Last edited Oct 22, 2024
Created on Oct 22, 2024

A stacked horizontal bar chart displays the distribution of IMDb movie ratings across six genres, with each bar segment representing a rating bracket from "below 5.0" to "above 8.5." The visualization uses D3 v7's `d3.stack()` to compute stacked series from CSV data, `d3.scaleOrdinal` for color mapping, and `d3.scaleBand` for the categorical y-axis. Hover interactions trigger a tooltip showing the exact percentage for each genre-rating combination, rendered as SVG with axes formatted via `d3.axisLeft` and `d3.axisBottom`.

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.
MIT Licensed

Similar vizzes