Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 2

Public visualization

Viewing a saved revision (read-only)

a304604595cc4051a6a6582bf4790e97

Activity 6_Task 2

0 stars0🌍 Public
RRishithaGarnepudi@my.unt.edu
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

A stacked bar chart displays the percentage distribution of IMDb rating levels across six movie genres, showing how genres like Documentary skew toward higher ratings while Action clusters at lower ones. Built with D3 v7, the chart uses a linear x-scale for percentages, a band y-scale for genres, and an ordinal color scale for rating categories. Hover interactions trigger tooltips with exact percentages via D3 event handlers, while SVG rectangles render the stacked data from a CSV file loaded with `d3.csv`.

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.