activity 6_task 2
✓ Published0🌍 Public
This example visualizes the distribution of IMDb movie ratings across five genres as a stacked horizontal bar chart. It shows the percentage of movies within each rating bucket. The chart uses D3.js v7 to load CSV data, map it, and apply a stacked layout. It includes interactive tooltips and uses SVG rendering. The colors are assigned via a scaleOrdinal color scheme, and the axes are styled with a custom font.
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