Skip to main content
100%

Activity6_Task2

✓ Published1🌍 Public
Gguttavenkata745@gmail.com
Last edited Oct 18, 2024
Created on Oct 18, 2024
Forked from Hello VizHub

A stacked horizontal bar chart shows the distribution of IMDb ratings across six movie genres, with each bar segmented into five rating ranges from below 5.0 to above 8.5. The visualization uses D3.js v7 with the SVG rendering framework, employing `d3.stack`, `d3.scaleBand`, and `d3.axisBottom` to construct the chart. A tooltip, implemented with D3's selection and event handlers, displays the precise percentage for each genre-rating combination on mouseover. The proportional widths of each segment allow viewers to compare rating patterns across genres at a glance.

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