Skip to main content
100%

Activity8-Task2

✓ Published0🌍 Public
Ssirichandana017@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 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 brackets from “below 5.0” to “above 8.5.” The visualization uses D3 v7’s `d3.stack()` to compute the stacked segments, `d3.scaleBand` for the genre categories, and `d3.scaleLinear` for the percentage axis. Hovering over a segment reveals a tooltip with the exact percentage for that rating range. Data comes from a local CSV file, and the chart is rendered as SVG with custom styling.

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