Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

f16352be9ef44eb0a0fd5bea5c89c30e

Fork of Hello VizHub

0 stars0🌍 Public
Ssaivaishnogaruda@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

A stacked bar chart displays the percentage distribution of IMDb ratings across six movie genres, with each genre's bar segmented into five rating categories. The visualization reveals that action films have the highest proportion of low ratings, while documentaries skew toward higher ratings. Built with D3 v7 and rendered as SVG, the chart uses d3.stack() to compute stacked segments, d3.scaleOrdinal() for color encoding, and hover interactions with tooltips to display precise percentages. Data comes from a local 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.