Skip to main content
100%

Activity 6_Task 2

✓ Published0🌍 Public
RRukmini Devi Y
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from Activity 6_Task 2

This stacked bar chart shows the distribution of movie ratings across genres, with each genre broken into five rating categories from “below 5.0” to “above 8.5” using percentage proportions. The visualization uses D3 v7’s `d3.stack` to compute stacked bars, `d3.scaleOrdinal` for color coding, and `d3.scaleBand` for the y-axis genres. It loads data from a local `data.csv` file and renders as SVG, with mouseover tooltips revealing exact percentages.

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