Skip to main content
100%

Q2

✓ Published0🌍 Public
MMandadi Nishita
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity6_Task2

This stacked bar chart shows the distribution of movie ratings across five genres, with each bar divided into percentage ranges from "Below 5.0" to "Above 8.5". The visualization loads data from a CSV file and uses D3 v7 APIs including `d3.stack`, `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom` to render the horizontal bars as SVG. Interactive tooltips display the exact percentage for each rating segment on mouseover, while a color scale maps rating categories to distinct hues.

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