Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity_6 task2

Public visualization

Viewing a saved revision (read-only)

42f3dcb072224ecbac0612c334875828

activity_6 task2

0 stars0🌍 Public
Hhui249378@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating categories from below 5.0 to above 8.5. The visualization uses d3.stack to compute the stacked segments, d3.scaleBand for the categorical y-axis, and d3.scaleLinear for the percentage x-axis. Hovering over a segment reveals the exact percentage for that rating category via a tooltip. Colors are assigned using d3.scaleOrdinal with a five-color palette, and the chart is rendered as SVG with data from a CSV file.

AI-generated description