Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_6 task2

Public visualization

Viewing a saved revision (read-only)

0ff7324627bd4f66aedb00b382365850

Activity_6 task2

0 stars0🌍 Public
HHarinathChakali33@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This example visualizes IMDb movie ratings by genre as a stacked horizontal bar chart, showing the proportion of titles falling into five rating brackets from below 5.0 to above 8.5. The chart uses d3.stack with d3.scaleOrdinal for color encoding and d3.scaleBand for the categorical genre axis, rendering SVG rectangles per segment. Interactive tooltips display exact percentages on hover using d3.select and mouse event handlers. Data comes from a CSV file with pre-aggregated genre-wise rating distributions.

AI-generated description