Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6 task 2

Public visualization

Viewing a saved revision (read-only)

8bedd8e48a574d81b30a9a8760096cd9

Activity-6 task 2

0 stars0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 6, 2024
Created on Apr 4, 2024
Forked from HTML Starter

This stacked bar chart visualizes the impact of movie genre on IMDb ratings, displaying the percentage of each rating level (from below 5.0 to above 8.5) within six genres, with totals summing to 100%. The chart uses d3.stack() to create stacked segments, d3.scaleBand() for the genre categories on the y-axis, and d3.scaleLinear() for the percentage scale on the x-axis. Interactive tooltips, implemented with D3 event handlers and HTML div elements, show precise percentages on hover, while a color scale distinguishes the five rating categories across the SVG-rendered bars.

AI-generated description

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

See also React Starter.