Skip to main content
100%

Task8_Tutorial2

✓ Published0🌍 Public
AAnilKumarReddyVanteru@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This example visualizes IMDb movie ratings across six genres, showing the percentage distribution of ratings within five score bands using stacked horizontal bars. The chart loads data from a local CSV file and renders it as SVG using D3 v7, employing `d3.stack()` for the stacked layout, `d3.scaleOrdinal` for color encoding, and `d3.axisLeft`/`d3.axisBottom` for axes. Interactive tooltips display exact percentages on mouseover, while the y-axis uses `d3.scaleBand` for genre positioning.

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