IMDb Movie ratings
✓ Published0🌍 Public
A stacked horizontal bar chart shows the distribution of IMDb ratings across six movie genres, with each bar segment representing the percentage of movies falling into rating bands from "below 5.0" to "above 8.5". The code loads CSV data via `d3.csv`, stacks series using `d3.stack`, and scales positions with `d3.scaleLinear` and `d3.scaleBand`. Interactive tooltips appear on mouseover via D3 event handlers. The visualization is rendered as SVG with a custom ordinal color scale and legend.
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