Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task 8 - tutorial 2

Public visualization

Viewing a saved revision (read-only)

e49d4047f7544de38c59029074a4b432

Task 8 - tutorial 2

0 stars2🌍 Public
Aasheshpinisetti@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024

A stacked bar chart shows the percentage distribution of IMDb ratings across six movie genres, with each bar divided into five rating brackets from below 5.0 to above 8.5. Hovering over any segment displays a tooltip with the exact percentage for that rating level within the genre. Built with D3 v7, the chart uses `d3.stack()` for data stacking, `d3.scaleOrdinal()` for color mapping, and `d3.scaleBand()` for the categorical y-axis. Data comes from a CSV file, and the visualization renders as SVG.

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.