Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6

Public visualization

Viewing a saved revision (read-only)

463aee08af0246cf95da4e6adb25b1f0

Activity6

0 stars0🌍 Public
Kkeerthi.yanala104@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This stacked bar chart displays the percentage distribution of IMDb rating levels across movie genres, with each genre represented as a horizontal bar. The visualization uses D3.js version 7 to render SVG elements, employing `d3.stack()` and `d3.scaleOrdinal` for color mapping. Interactive tooltips appear on hover, showing precise percentages for each rating category using `event.pageX` and `event.pageY` positioning. The chart reads from a local CSV file and includes axis labels and a title for context.

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.