Skip to main content
100%

Activity 6 Task 2

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

A stacked horizontal bar chart compares the distribution of IMDb ratings across six movie genres, using percentages for five rating categories. The chart uses D3.js v7 APIs including `d3.stack`, `d3.scaleOrdinal`, `d3.scaleLinear`, `d3.scaleBand`, and `d3.axisLeft`. Each genre’s row shows proportional segments colored by rating category, with interactive tooltips revealing exact percentages. Data originates from a CSV file with pre-calculated proportions, rendered as SVG.

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