🌍 Public
Viewing a saved revision (read-only)
e445a60d57294799938f4926c0201f9e
Activtiy-6-tutorial-2
A stacked bar chart displays the percentage of IMDb ratings within five genres (Documentary, Drama, Comedy, Romance, Animation, Action). The horizontal bars show the proportion of ratings across levels from "below 5.0" to "above 8.5," with hovering revealing precise percentages via tooltips. The visualization uses d3.stack, d3.scaleBand, d3.scaleLinear, and d3.axisBottom, rendering SVG elements. Data is loaded from a CSV file, and colors are assigned via d3.scaleOrdinal.
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.