Skip to main content
100%

Activity6_Task2

✓ Published0🌍 Public
Jjangalaupender@my.unt.edu
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This example visualizes IMDb movie ratings across six genres using a stacked horizontal bar chart, showing the percentage distribution of ratings across five score categories. The chart is rendered as SVG using D3 v7, with data loaded from a CSV file. The implementation demonstrates D3’s stack layout for proportional composition, d3.scaleBand for categorical positioning, and d3.scaleOrdinal for color encoding. Interactive tooltips reveal the exact percentage for each rating category on hover, with a legend positioned to the right.

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