Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of task 8 question 2

Public visualization

Viewing a saved revision (read-only)

4f9ac039c4d5466ca17822bc20218389

Fork of task 8 question 2

0 stars1🌍 Public
Vvchittimadha@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from task 8 question 2

This stacked bar chart displays movie genre ratings as horizontal bars, segmented by genre category (Action, Adventure, Comedy, Drama) across five rating types. Each bar segment shows the percentage share via a hover tooltip. Built with D3 v7, the visualization uses `d3.stack`, `d3.scaleLinear`, `d3.scaleBand`, and `d3.axisLeft` to render SVG rectangles, with data from a local 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.