Viewing a saved revision (read-only)
56449ae3939c482ab7c4c04fef3c3b1a
Activity6_Question4
This visualization compares rating distributions across movie genres through a bubble chart, showing the percentage of films falling into five rating bands from "below 5.0" to "above 8.5" for categories like Documentary, Drama, and Action. Each genre's mid-range rating share (6.5-7.5) is mapped to both the vertical position and bubble radius, while color distinguishes genres. Built with d3.v7, the chart uses d3.scaleBand and d3.scaleLinear for axes, d3.scaleOrdinal for colors, and features CSS-driven hover effects with a custom tooltip displaying complete rating breakdowns for each genre. Data comes from a CSV file containing proportional ratings per genre.
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.