Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

fa340de2e7c345e28be54a034077c732

Activity6_Task2

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

This stacked bar chart visualizes the percentage distribution of IMDb rating levels across six movie genres, showing how genre impacts ratings. Each horizontal bar represents a genre, segmented into five rating categories from “below 5.0” to “above 8.5,” with a total of 100%. Hovering over a segment displays a tooltip with the exact rounded percentage for that rating level. The chart uses d3.stack for data stacking, d3.scaleOrdinal with a custom color palette, d3.scaleLinear and d3.scaleBand for axes, and SVG rendering from a CSV data source.

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.