Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ass8_Question2

Public visualization

Viewing a saved revision (read-only)

c4241f7915fc400e8b7c616c7ced2b4b

Ass8_Question2

0 stars0🌍 Public
AAbdul Kareem
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

A stacked bar chart displays the distribution of IMDb movie ratings across six genres, with categories ranging from below 5.0 to above 8.5. The chart uses d3.stack to aggregate percentage data from a CSV file and d3.scaleOrdinal for color encoding. Hover interactions trigger tooltips via D3 event handlers, showing precise percentages. The SVG is rendered with d3.axisBottom, d3.axisLeft, and d3.scaleBand for categorical genres.

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.