Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Tutorial2_Rashmitha

Public visualization

Viewing a saved revision (read-only)

08b906b1fdc046a78c244a6da8f0bb14

Activity6_Tutorial2_Rashmitha

0 stars1🌍 Public
Rrashmithatanneru@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage of movies in five rating categories across six genres, highlighting how genre influences IMDb ratings. The horizontal bars use color-coded segments to represent the proportion of ratings, while hovering reveals precise percentages via tooltips. Built with D3 v7, the visualization uses `d3.stack()` for data transformation, `d3.scaleOrdinal` for colors, and `d3.scaleBand` for the categorical axis, rendering as SVG with interactive mouse events for detail-on-demand.

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.