Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 task 2

Public visualization

Viewing a saved revision (read-only)

7073d94433df47e0a5f9982e35f335bf

Activity6 task 2

0 stars0🌍 Public
Vvishnutejareddyambati@my.unt.edu
Last edited Oct 26, 2024
Created on Oct 26, 2024
Forked from D3 Starter

A stacked horizontal bar chart displays the percentage distribution of IMDb ratings across six movie genres, using five rating categories from "below 5.0" to "above 8.5." The chart shows proportions per genre via color-coded segments, with a tooltip revealing exact percentages on hover. Built with D3 v7, it uses `d3.stack()` to compute stacked series, `d3.scaleBand()` for genre positioning, and `d3.scaleLinear()` for the percentage axis. Data comes from an external CSV file, rendered as SVG within an HTML page, with axis labels and a title included.

AI-generated description

A demonstration of how to start using D3 version 6.