Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Activity6_Task2

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

This example displays a stacked bar chart of IMDb movie ratings across six genres, showing the percentage distribution of ratings within categories such as below 5.0, 5.0-6.5, and up to above 8.5. The visualization reads from a CSV file and uses d3.stack, d3.scaleOrdinal, d3.scaleBand, and d3.axisBottom to render the SVG. Each rectangle responds to mouseover events, displaying a tooltip with the exact percentage for that genre and rating bracket. The chart includes a title, axis labels, and a color legend.

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.

Comments

Sign in to join the discussion.

MIT Licensed