Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task8_Question2

Public visualization

Viewing a saved revision (read-only)

96c76d1f3482418d8e36ff15d03d38d4

Task8_Question2

0 stars0🌍 Public
KKeerthi
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of IMDb movie ratings across six genres, with each bar segmented into five rating categories from below 5.0 to above 8.5. Interactive hover tooltips reveal the exact percentage for each segment, and a legend distinguishes the rating categories by color. The visualization uses D3.js v7 with a linear x-scale for percentages and a band scale for genres, processing CSV data through d3.stack() to create the stacked bars rendered as SVG rectangles.

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.