Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Task-2

Public visualization

Viewing a saved revision (read-only)

87e254f9757540b4a846df28f0d71a3e

Activity8_Task-2

0 stars0🌍 Public
HHarika Metta
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

A stacked bar chart displays the percentage of IMDb rating levels across movie genres, showing how genre impacts ratings. Bars represent genres, with segments for rating brackets from below 5.0 to above 8.5. Hovering reveals tooltips with exact percentages. The D3.js v7 code uses d3.stack, d3.scaleOrdinal, d3.scaleLinear, and d3.scaleBand to create the SVG visualization, with data 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.