Activity-8_Question-3
✓ Published0🌍 Public
This scatter plot visualizes the distribution of movie ratings across six genres, with each genre positioned along the x-axis and a proportional rating value displayed on the y-axis. The chart encodes five rating categories using a distinct color palette, allowing viewers to compare rating patterns among genres. The visualization is built with D3 v7, using `d3.scaleBand` for the categorical axis, `d3.scaleLinear` for the continuous axis, and `d3.scaleOrdinal` for color mapping. Each rating value is represented as a circle, with the data loaded from a hardcoded JavaScript array.
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