Skip to main content
100%

Activity6 Tutorial2

✓ Published0🌍 Public
Ssharanyabobbala@my.unt.edu
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Hello VizHub

A stacked horizontal bar chart visualizes IMDb movie rating distributions across six genres, with each bar segmented into five rating buckets from below 5.0 to above 8.5. The chart uses D3 v7’s `d3.stack`, `d3.scaleBand`, and `d3.scaleLinear` to render SVG rectangles, while a custom tooltip on mouseover displays the exact percentage for each segment. Data comes from a local CSV file, and the visualization includes axis labels, a legend, and color-coded 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