Skip to main content
100%

Untitled

✓ Published2🌍 Public
Yyuqing35
Last edited Dec 16, 2022
Created on Dec 14, 2022
Forked from HTML Starter

This visualization shows the percentage distribution of movie ratings across six genres, from below 5 to 8.5 and above, revealing how genre impacts audience scores. It uses d3.csv to load the data and d3.scaleBand for the categorical x-axis, with d3.scaleLinear mapping the y-axis to the cumulative proportions. Each genre’s total is represented as a single steelblue bar, while hovering turns the bar brown. The chart is rendered as an SVG with d3.axisBottom and d3.axisLeft for the axes, and styled via external CSS.

AI-generated description

The impact of genre on movie ratings.

This bar chart gives the percentage of each rating level within difference genres, to show the impact of genre on movie ratings.

MIT Licensed

Similar vizzes