Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
SShasankreddyganta@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This stacked bar chart displays the distribution of IMDb movie ratings across six genres, showing the percentage of titles falling into five rating brackets from below 5.0 to above 8.5. Each horizontal bar breaks down a genre's total into colored segments corresponding to rating ranges, with tooltips revealing exact percentages on hover. The visualization uses D3 v7's `d3.stack()` and `d3.scaleOrdinal()` for data aggregation and color mapping, rendered as SVG with `d3.axisBottom` for the percentage axis and a custom tooltip built from HTML divs. Data comes from the provided CSV file, where each row represents a genre's proportions across rating categories.

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