Activity6_Question3
✓ Published0🌍 Public
This example visualizes IMDb movie ratings by genre using a dumbbell plot, showing the percentage distribution across five rating brackets from below 5.0 to above 8.5. The chart displays colored circles for each rating category along a shared horizontal axis, with genres listed vertically. The visualization uses D3 v7 with SVG rendering, employing `d3.scaleLinear` for the percentage axis, `d3.scaleBand` for genre positioning, and `d3.scaleOrdinal` for categorical colors. Interactive tooltips appear on mouseover, displaying exact percentages, while the data is loaded from an external CSV file.
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