Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task8_tutorial2

Public visualization

Viewing a saved revision (read-only)

4d8dd5f1c2da41539a8ecd723e97e795

Task8_tutorial2

0 stars0🌍 Public
Ppranayrajana.97@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This stacked bar chart shows the percentage distribution of IMDb movie ratings across six genres, with each bar segment representing a rating range from below 5.0 to above 8.5. Hovering over a segment reveals a tooltip displaying the exact percentage for that rating level within the genre. The visualization uses D3.js v7 with an SVG rendering, employing d3.stack, d3.scaleBand, d3.scaleLinear, and d3.scaleOrdinal APIs. Data comes from a CSV file containing genre and rating percentage columns, with colors assigned via a custom ordinal scale.

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.