Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Viewing a saved revision (read-only)

762cd734cb4a43b5a0c4a40d9974c858

Activity6_Task2

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

This stacked bar chart visualizes IMDb movie ratings across six genres, showing the proportion of films in five rating brackets from below 5.0 to above 8.5. A tooltip displays the exact percentage for each rating segment on mouseover. Built with D3 v7, the visualization uses d3.stack() to compute the stacked series, d3.scaleBand for genre positioning, and d3.scaleLinear for percentage values, rendering as SVG with interactive hover effects that adjust opacity and reveal detailed data.

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.