Skip to main content
100%

kiran Task2

✓ Published0🌍 Public
MMANEEDI NAGAKIRAN
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from IMDb Movie ratings

This stacked bar chart shows the distribution of movie ratings across five genres, with each bar segmented by rating level percentages that sum to 100%. The visualization uses a horizontally-arranged bar chart on an SVG canvas, where the height of each colored segment encodes the proportion of films within each rating band. Built with d3.v7, the chart employs d3.stack() to compute the stacked segments, d3.scaleBand for the categorical x-axis, and d3.scaleLinear for the percentage y-axis formatted with d3.format. A legend identifies the five rating categories, while the data represents fictional genre-based rating proportions.

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%.

MIT Licensed

Similar vizzes