Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

625e8ccb4bcf4fa39989ce04e522224c

Activity6_Task2

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

This stacked bar chart shows how movie ratings are distributed across six genres, with each bar representing the percentage of films falling into five rating categories from below 5.0 to above 8.5. The visualization highlights that documentaries have the highest proportion of high ratings, while action films tend toward lower scores. Built with D3 v7, the chart uses `d3.stack()` to construct the stacked segments and `d3.scaleOrdinal` for color encoding. Hovering over individual bars triggers tooltips displaying the exact percentage for each rating level within that genre.

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.