Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

act 6 t2

Public visualization

Viewing a saved revision (read-only)

07fa845e6bd342cfaf8fa7f6e63c7473

act 6 t2

0 stars0🌍 Public
Sshravan.s0710@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart visualizes IMDb movie ratings across six genres, showing the percentage distribution within five rating brackets from below 5.0 to above 8.5. The chart uses `d3.stack()` to generate stacked series from the CSV data, `d3.scaleBand()` for the genre categories, and `d3.scaleLinear()` for the percentage axis. Each bar segment is colored using `d3.scaleOrdinal` with a custom palette. Interactive tooltips appear on mouseover, displaying the exact percentage for each rating category, while the SVG rendering includes axes, gridlines, and a title.

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.