Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6 Task 2

Public visualization

Viewing a saved revision (read-only)

097d7ff76f574238a2eaa390c886d830

Activity_6 Task 2

0 stars0🌍 Public
Rreddyjathin95@gmail.com
Last edited Jul 12, 2024
Created on Jul 12, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the distribution of IMDb ratings across six movie genres, with each bar segment representing the percentage of titles falling into one of five rating brackets. Data is drawn from the `data.csv` file, rendered as SVG rectangles using D3.js v7's stacked bar API (`d3.stack()`) and band scale for the y-axis. Hovering over a segment reveals a tooltip showing the exact percentage for that rating level within the genre, aiding comparison of rating patterns across genres like Documentary and Action.

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.