IMDb Movie ratings
✓ Published0🌍 Public
A stacked horizontal bar chart visualizes the distribution of IMDb ratings across six film genres, with each bar segmented by five rating intervals from "below 5.0" to "above 8.5." The chart shows the proportion of films in each rating category per genre, using a categorical color scale. The visualization uses d3.stack() to compute stacked series, d3.scaleBand() and d3.scaleLinear() for positioning, and d3.axisBottom() for the percentage axis. Interactive tooltips display precise percentages on mouseover, while a legend indicates the rating categories. The data is loaded from a CSV file using d3.csv() and rendered as SVG.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed