IMDb Movie ratings
✓ Published0🌍 Public
This stacked bar chart displays the distribution of IMDb ratings across six movie genres, showing the percentage of films in each rating range from below 5.0 to above 8.5. The horizontal bars are segmented by rating category, with a color-coded legend and interactive tooltips that reveal exact percentages on hover. The visualization uses D3 v7 to load CSV data, apply the d3.stack layout for bar segmentation, and render SVG elements. Scales include d3.scaleLinear for the x-axis and d3.scaleBand for genres, with d3.scaleOrdinal mapping rating categories to custom colors. Axis labels and a title provide context, and the tooltip uses D3 event handling for mouse interactions.
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