🌍 Public
Viewing a saved revision (read-only)
20d51deea32046ba92a88099ae57380a
Acyivity6_Question 2.3
This stacked bar chart shows the distribution of game ratings across six popular titles, with each bar segmented into five rating categories from "below 5.0" to "above 8.5" as percentages. The visualization uses d3.stack() to compute the stacked series, d3.scaleBand() for the game categories on the y-axis, and d3.scaleLinear() for the percentage scale on the x-axis. Interactive tooltips display the exact percentage for each rating segment on mouseover, while d3.axisBottom and d3.axisLeft render the axes with custom styling from the included stylesheet.
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.