Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Viewing a saved revision (read-only)

e29fbb7767c24ba7be92adffa3ecff30

Activity 6

0 stars0🌍 Public
Aanushapodapati99@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024

This stacked bar chart displays the percentage distribution of IMDb movie ratings across six genres, revealing how rating patterns vary by genre. Each bar is segmented into five rating categories, from below 5.0 to above 8.5, with the total always equaling 100%. The visualization uses D3 v7 with SVG rendering, employing `d3.stack()` to create the stacked segments and `d3.scaleOrdinal` for color mapping. Interactive hover effects trigger tooltips showing exact percentages for each genre-rating combination. The chart reads from a CSV data file and includes labeled axes for percentage and genre categories.

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.