Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

TASK2

Public visualization

Viewing a saved revision (read-only)

0436c6c34d734fb7abeee672aaa20c0a

TASK2

0 stars0🌍 Public
Ssanjanadadi19@gmail.com
Last edited Mar 30, 2024
Created on Mar 30, 2024
Forked from Hello VizHub

This stacked bar chart displays the percentage distribution of IMDb movie ratings across five genre categories, with each bar segmented by rating bands from "Below 5.0" to "above 8.5." Hovering over a segment highlights it and shows a tooltip with the precise percentage. Built with d3.v7 and rendered as SVG, the visualization uses `d3.stack()` to construct the stacked segments, `d3.scaleBand()` for the genre axis, and `d3.scaleLinear()` for the percentage axis. The data comes from a CSV file containing pre-computed proportions.

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.