Skip to main content
100%

Task-8-Tutorial-2

✓ Published1🌍 Public
Mmdadeebfarhaan@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This example visualizes IMDb movie ratings across genres using a stacked horizontal bar chart, showing the percentage distribution of ratings in categories like "5.0-6.5" and "above 8.5" for genres such as Documentary and Action. Built with D3 v7 and rendered as SVG, the chart uses `d3.stack`, `d3.scaleBand`, and `d3.scaleLinear` to position bars, with mouse events driving a tooltip that displays exact percentages. The data is loaded from a CSV file.

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