Skip to main content
Public

Share visualization

Loading preview…

Acitvity6_Tutorial2

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

Acitvity6_Tutorial2

0
Ggnanendra097@gmail.com
Last edited Apr 5, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5" as proportions of total films. The visualization uses d3.stack() to compute the stacked segments, d3.scaleBand() for the genre categories, and d3.scaleLinear() for the percentage axis on a logarithmic-free linear scale. Hovering over any segment reveals a tooltip displaying the exact percentage for that genre and rating range. The data comes from a CSV file containing genre-wise rating proportions, rendered as SVG rectangles with a color scale distinguishing each rating band.

AI-generated description

IMBD movie ratings

Comments

Sign in to join the discussion.

MIT Licensed