Skip to main content
Public

Share visualization

Loading preview…

ACTIVITY2_R

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

ACTIVITY2_R

0
RRevanth putta
Last edited Nov 12, 2025
Created on Nov 12, 2025
Forked from Hello VizHub

This horizontal stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, with each bar segmented into five rating categories from “below 5.0” to “above 8.5.” The chart uses d3.stack() to compute the stacked data and d3.scaleBand for the categorical y-axis, while d3.scaleLinear maps the percentage values. D3 v7 appends SVG rectangles for each segment, with mouseover tooltips displaying the exact percentage per rating category. The data comes from a CSV file loaded via d3.csv, and the chart includes custom color scales and axis labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed