🌍 Public
Viewing a saved revision (read-only)
2b6a96c9cc564b31ba6a38b07a4ae121
Activity6_Task2
This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, with each bar segmented into five rating categories from "below 5.0" to "above 8.5." The visualization uses d3.stack() to create the stacked segments, d3.scaleLinear() for the x-axis, and d3.scaleBand() for the categorical genre axis. Interactive tooltips appear on mouseover via d3.select and event handlers, displaying the precise percentage for each rating segment. The chart renders as SVG within a React framework, styling text elements with custom fonts from Google Fonts.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.