Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
Cchinnivikramnunna@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes