Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task2

Public visualization

Viewing a saved revision (read-only)

bae8a0244bb04f148857b99fc50819ad

Activity6_task2

0 stars0🌍 Public
Nnikhithaaitha22@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024

This visualization shows the distribution of IMDb ratings across different movie genres, with each genre displayed as a horizontal stacked bar representing five rating categories from “below 5.0” to “above 8.5.” The stacked bars are rendered as SVG rectangles using D3 v7’s `d3.stack()` and `d3.scaleBand()` for the categorical y-axis, while a linear scale maps the percentage values. A tooltip appears on mouseover to show the exact percentage for each rating segment. The data comes from the included `data.csv` file.

AI-generated description

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

See also React Starter.