Skip to main content
Public

Share visualization

Loading preview…

Fork of Activity6_Task2

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

Fork of Activity6_Task2

0
Vvidyagangasani@my.unt.edu
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Activity6_Task2

This example displays the distribution of IMDb ratings across six movie genres as a horizontal stacked bar chart. Each bar represents a genre, with color-coded segments showing the percentage of titles falling into five rating ranges from "below 5.0" to "above 8.5". The chart uses d3.csv to load the data, d3.stack for stacking, and d3.scaleOrdinal with a predefined color array. Interactive tooltips appear on mouseover, displaying the exact percentage for each segment. A legend and custom axis labels are rendered via D3’s SVG selection API.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed