Activity6_task2
✓ Published1🌍 Public
This example visualizes the distribution of IMDb movie ratings across six genres, using a stacked horizontal bar chart. Each bar segment represents the percentage of movies within a rating category, from below 5.0 to above 8.5, and the data is compiled in the `data.csv` file. The visualization is built with D3 v7, utilizing `d3.scaleOrdinal` for color mapping, `d3.axisBottom` for the x-axis, and a custom tooltip on mouseover to display exact percentage values. The chart is rendered as an SVG with a clean, stylized layout.
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