Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Q2.3

Public visualization

Viewing a saved revision (read-only)

4db5131a988a412189e93f574d8f92a7

Activity6_Q2.3

0 stars0🌍 Public
Rrishithagovini99@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart displays the percentage distribution of IMDb rating levels (below 5.0 to above 8.5) across six movie genres. The horizontal bars show proportions totaling 100% for each genre, with hover interactions triggering tooltips that reveal exact percentages per rating category. Using D3 v7's `d3.stack()` and `scaleOrdinal`, the visualization renders SVG rectangles with color-coded segments. The data from `data.csv` is mapped to a linear x-scale and band y-scale, while the legend and axis labels clarify the rating groups and percentage values.

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.