Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 2

Public visualization

Viewing a saved revision (read-only)

3d56ba2153094de98e95fa732b9a6729

Activity 6_Task 2

0 stars1🌍 Public
DDipesh
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the percentage distribution of IMDb movie ratings across six genres, showing how genre influences rating outcomes. Each bar represents a genre and is divided into five rating categories, from below 5.0 to above 8.5, with tooltips revealing exact percentages on hover. The visualization uses d3.stack to structure the data, d3.scaleBand for the y-axis, and d3.scaleLinear for the x-axis, rendering SVG rectangles. Data comes from the embedded CSV file, and d3.format displays percentage values with two decimal places.

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.