Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data Visualization Short Presentation Task5

Public visualization

Viewing a saved revision (read-only)

733c8d9188c446b288b7ad8c831837ef

Data Visualization Short Presentation Task5

0 stars0🌍 Public
Aanith462@gmail.com
Last edited Jul 27, 2023
Created on Jul 26, 2023
Forked from Hello VizHub

This stacked bar chart displays the distribution of Netflix show ratings across six genres, with each bar segment representing the percentage of audience ratings falling into categories from "below 5.0" to "above 8.5". The visualization uses d3.csv to load the data, d3.stack() to compute the stacked segments, and d3.scaleOrdinal with a custom color array for encoding rating categories. Interactive tooltips, styled with hover effects that change rectangle opacity, display exact percentages on mouseover, while axes, labels, and a legend help contextualize the 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.