Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

60bb7564232749ad8ae6abb2da633fff

Activity6_Task2

0 stars2🌍 Public
Ssriyaalugupalli@my.unt.edu
Last edited Oct 21, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, showing the proportion of films within five rating brackets that sum to 100%. D3.js v7 uses a linear scale for the percentage x-axis and a band scale for genres, with an ordinal color scale mapping each rating category. Hovering over a bar segment triggers a tooltip displaying the exact percentage for that genre-rating combination. The SVG rendering and custom styles are defined in the accompanying CSS and JavaScript files.

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.