Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
YYeruva Snehith Reddy
Last edited Oct 22, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This visualization presents a stacked horizontal bar chart of IMDb movie ratings across six genres, with each bar segment representing the proportion of titles within rating brackets from below 5.0 to above 8.5. The chart uses D3 v7 with SVG rendering, employing `d3.stack()` for the stacked layout, `d3.scaleBand` for the genre axis, and `d3.scaleLinear` for the percentage scale. Interactive tooltips display the exact percentage for each segment on hover, using `d3.select` and event handlers. Data comes from the included CSV file.

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