Ativity_6_task3
✓ Published0🌍 Public
A stacked horizontal bar chart compares the percentage of IMDb ratings across different movie genres. Each bar is segmented by rating service, with colors distinguishing the services, and hovering over a segment reveals the exact percentage via a tooltip. Built with D3 v7, the visualization uses `d3.scaleOrdinal` for colors, `d3.scaleBand` for the categorical y-axis, `d3.stack` for the stacked data, and `d3.axisBottom` and `d3.axisLeft` for axes. Data is loaded from an external source, and the SVG rendering includes custom styling from `styles.css`.
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