Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

8b8826eee6a54368b76cad0ab0d46ebd

Activity6_Task2

0 stars0🌍 Public
Mmeenam1106@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, showing the proportion of films falling into rating brackets from below 5.0 to above 8.5. The chart uses a horizontal layout with genres on the y-axis and percentage on the x-axis, where each genre’s bar is segmented by rating category. Hovering over any segment displays a tooltip with the exact percentage. Built with D3 v7, the visualization uses `d3.stack()` to create the stacked data, `d3.scaleOrdinal` for color encoding, and SVG rendering. The data covers Documentary, Drama, Comedy, Romance, Animation, and Action genres, sourced from a local CSV file.

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.