Skip to main content
100%

Fork of Task 8 tutorial 2

✓ Published0🌍 Public
YYeshwanth963@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Task 8 q2

This example shows a stacked bar chart of IMDb movie ratings by genre, using percentages across five rating buckets from below 5.0 to above 8.5. The data is loaded from a CSV file. The chart renders in SVG using D3 v7, with d3.stack for stacking, d3.scaleBand for genres, d3.scaleLinear for percentages, and d3.axisBottom and d3.axisLeft for axes. Hovering over a bar segment displays a tooltip with the exact rating percentage for that genre and bucket.

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.
MIT Licensed

Similar vizzes