Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Tutorial 2 BHAVANI MANDULA

Public visualization

Viewing a saved revision (read-only)

0ff591110cd94d708902276454aef317

Activity 6 Tutorial 2 BHAVANI MANDULA

0 stars0🌍 Public
Bbhavanimandula@my.unt.edu
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

A stacked bar chart shows the distribution of IMDb rating categories across six movie genres, with each bar segment representing the percentage of ratings in ranges from below 5.0 to above 8.5. The visualization uses d3.stack() to compute the stacked segments and d3.scaleOrdinal() with a custom color palette for the rating bands. Hovering over a segment displays a tooltip with the exact percentage via d3.format(). Data comes from a CSV file loaded with the D3 v7 library, rendered as SVG with scales for percentage and genre on the x and y axes.

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.