Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Acitivity6_task2

Public visualization

Viewing a saved revision (read-only)

b24761f2bdb54f0aa5de2f8f8abd3af2

Acitivity6_task2

0 stars0🌍 Public
AAnirudhaKulakarniKaranam@my.unt.edu
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from Hello VizHub

A stacked bar chart visualizes how movie genres relate to IMDb rating categories. Each horizontal bar represents a genre and is divided into five colored segments for rating brackets from below 5.0 to above 8.5, scaled as proportions of 100%. Hovering highlights a segment and displays a tooltip with the exact percentage. Built with D3 v7, it uses `d3.stack`, `d3.scaleOrdinal`, `d3.scaleBand`, and `d3.scaleLinear` to generate SVG rectangles and axes from CSV data.

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.