Skip to main content
100%

Fork of Task_8_Activity_2_Question_1

✓ Published0🌍 Public
Jjordanwolfe2@my.untdallas.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Task_8_Activity_2

This example visualizes IMDb movie rating distributions across six genres using a stacked bar chart. Each bar shows the percentage of films falling into five rating brackets, from below 5.0 to above 8.5, with color-coded segments for each bracket. The chart uses D3 v7’s `d3.stack()` to compute the stacked series, `d3.scaleOrdinal` for colors, and `d3.scaleBand` and `d3.scaleLinear` for axes. Interactive tooltips appear on mouseover, displaying the exact percentage for each rating segment per genre. Data is loaded from a local CSV file.

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