Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
PPothuguntla Pranitha
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Activity-6

A stacked horizontal bar chart displays the distribution of IMDb ratings across six genres, with each genre broken into five rating percentage bands. The visualization reads a CSV file and uses D3 v7's `d3.stack`, `d3.scaleOrdinal`, `d3.scaleLinear`, and `d3.scaleBand` to render SVG rectangles, while tooltips on hover reveal the exact percentage for a rating band. Axis labels and a title clarify the chart, and the color palette distinguishes rating categories.

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