Activity-6-Task2
✓ Published1🌍 Public
This chart visualizes the distribution of IMDb movie ratings across different genres, with each genre’s ratings segmented into five ordered categories from “below 5.0” to “above 8.5.” Using a stacked bar chart, the height of each bar segment encodes the percentage of films in that rating bracket. The visualization is built with d3.scaleLinear, d3.scaleBand, and d3.stack, and includes interactive tooltips for each segment. Data is loaded from a local CSV file, and the SVG rendering uses a color scale with five distinct hues.
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