Skip to main content
Public

Share visualization

Loading preview…

Task 2 Anusha H

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Task 2 Anusha H

0
AAnushaHyderaboeni@my.unt.edu
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This chart shows the distribution of IMDb movie ratings across six genres, using stacked horizontal bars where each segment represents the proportion of movies falling into one of five rating bands (below 5.0 up to above 8.5). The code uses d3.stack to create the stacked series, d3.scaleBand for the categorical genre axis, and d3.scaleOrdinal with a custom color palette for the rating categories. The SVG rendering relies on D3 v7’s axis generators, and a custom tooltip displays the exact percentage for each segment on hover.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed