Skip to main content
100%

Activity6_Task2

✓ Published2🌍 Public
Ssaisnehapalle@my.unt.edu
Last edited Apr 5, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart shows the distribution of IMDb ratings across genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5" expressed as percentages. The chart is rendered as SVG using D3 v7, with data loaded from a CSV file. It employs d3.stack() to create the stacked layout, d3.scaleBand() for the genre axis, d3.scaleLinear() for percentages, and d3.scaleOrdinal() with a custom color palette. Interactive tooltips display the exact percentage for each rating segment 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