Skip to main content
100%

Task2

✓ Published2🌍 Public
Vvishu.valandas@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This stacked bar chart visualizes movie ratings across different genres, breaking down each genre's proportion into five rating categories from below 5.0 to above 8.5. The chart uses horizontal bars with color-coded segments representing each rating range, allowing viewers to compare rating distributions across genres like Documentary, Comedy, and Drama. The visualization loads data from a local CSV file and renders the stacked bars using D3.js v7, employing d3.stack(), d3.scaleBand(), and d3.scaleLinear() to construct the chart. Hover interactions dim individual segments to highlight specific rating ranges.

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