🌍 Public
Viewing a saved revision (read-only)
a8601b47744649ec81f7aaaa15260a38
act8
This example displays a stacked bar chart of movie ratings by genre, sourced from a local CSV file. The visualization uses React and D3 v7 to render SVG bars, with scales for linear percentages and categorical genres. It employs `d3.stack`, `scaleBand`, and `scaleLinear` to compose the bars, while a color scale distinguishes categories. Interactive tooltips, built with D3 selectors, reveal percentage values on hover.
AI-generated descriptionAn example showing the capabilities of VizHub:
-A demonstration of how to start using D3 version 6.