Skip to main content
100%

Activity 8 - Task 2

✓ Published0🌍 Public
SSamir Tarda
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This stacked bar chart shows the distribution of IMDb ratings across six movie genres, revealing how drama and comedy skew toward middle ratings while action films cluster at lower scores. The visualization uses D3 v7 with SVG rendering, employing `d3.stack()` to compute stacked series from CSV data and `d3.scaleOrdinal` for categorical coloring. Hover interactions display percentage values via a custom HTML tooltip, with axes created using `d3.axisBottom` and `d3.axisLeft`.

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