🌍 Public
Viewing a saved revision (read-only)
341b28f72fca42f59225789f855a8458
Activity6_Task2_Q2
This example shows a stacked horizontal bar chart of app category ratings, displaying the percentage distribution of ratings across five bins from “below 2.0” to “above 5.0” for ten app categories. The visualization uses D3 v7 with SVG rendering, employing `d3.stack()` to compute stacked series, `d3.scaleOrdinal` for color mapping, and `d3.scaleBand` for categorical positioning. Tooltips on mouseover reveal exact percentages using `d3.format`. The data comes from a CSV file loaded and parsed by D3.
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.