Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task8_task2

Public visualization

Viewing a saved revision (read-only)

d022d1c38e544a83bdf52bb8da33e7e4

Task8_task2

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

This stacked bar chart visualizes the distribution of IMDb ratings across six movie genres, showing the proportion of films within each rating bracket as a fraction of one. The chart uses horizontal bars segmented by rating categories, with color coding to distinguish the five rating levels. Hovering over any segment reveals an exact percentage via a tooltip. The visualization is built with D3 v7, using `d3.stack` for data aggregation and `d3.scaleOrdinal` for color mapping. Data is sourced from a static CSV file, and the rendering is done through SVG elements.

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.