Skip to main content
100%

Activity 6_task 2

✓ Published0🌍 Public
Jjampani921@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

A stacked bar chart displays the distribution of IMDb ratings across six movie genres, with proportions segmented into five rating bands from below 5.0 to above 8.5. The visualization uses d3.stack and d3.scaleOrdinal to aggregate the CSV data, rendering horizontal bars with an SVG. Interactive tooltips, implemented via mouse events and appended HTML divs, show exact percentages for each genre-rating combination on hover. d3.axisBottom and d3.axisLeft structure the percentage and genre axes.

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