Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6

Public visualization

Viewing a saved revision (read-only)

9d387aad71c041c48a222c2c434b07c9

Activity6

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

This stacked bar chart shows the percentage distribution of IMDb ratings across six movie genres, with each bar divided into five rating categories from below 5.0 to above 8.5. The visualization uses D3.js v7 with an SVG rendering approach, employing `d3.stack` for the stacked bar construction, `d3.scaleOrdinal` for color encoding, and `d3.axisBottom`/`d3.axisLeft` for axes. Interactive hover states trigger tooltips that display precise percentages via `d3.format`. The underlying data is loaded from a CSV file containing genre-specific rating proportions.

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.