Skip to main content
100%

act8

✓ Published0🌍 Public
Rravularasesh3102@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes