Task2
✓ Published2🌍 Public
This stacked bar chart visualizes movie ratings across different genres, breaking down each genre's proportion into five rating categories from below 5.0 to above 8.5. The chart uses horizontal bars with color-coded segments representing each rating range, allowing viewers to compare rating distributions across genres like Documentary, Comedy, and Drama. The visualization loads data from a local CSV file and renders the stacked bars using D3.js v7, employing d3.stack(), d3.scaleBand(), and d3.scaleLinear() to construct the chart. Hover interactions dim individual segments to highlight specific rating ranges.
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