Skip to main content
Public

Share visualization

Loading preview…

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

Activity6_Task2

2
VVENKATESWAR RAO CHINTA
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from IMDb Movie ratings

This stacked bar chart visualizes how movie ratings vary across six genres, showing the percentage of films that fall into each of five rating categories, from below 5.0 to above 8.5. Built with D3.js (v7) and rendered as an SVG, the chart uses a horizontal stacked layout where each genre forms a full-width bar, with color-coded segments representing rating levels. Interactive tooltips appear on hover, revealing the precise percentage for each genre-rating combination. The code employs `d3.stack`, `d3.scaleOrdinal`, and `d3.axisBottom` to process the CSV data and construct the visualization.

AI-generated description

The impact of genre on movie ratings

This stacked bar chart gives the percentage of each rating level within different movie genres. The aim is to show the impact of genre on movie ratings. When the mouse hovers over each bar, you can see pop-ups of accurate percentage of each rating level within each genre. Total percentage is 1, representing 100%.

Comments

Sign in to join the discussion.

MIT Licensed