Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task-8(Tutorial-2)

Public visualization

Viewing a saved revision (read-only)

ce835c68f824464281ee3e5529cc1a06

Task-8(Tutorial-2)

0 stars0🌍 Public
Ttallurisaiteja96@gmail.com
Last edited Apr 8, 2024
Created on Apr 8, 2024
Forked from Hello VizHub

A stacked bar chart displays the percentage distribution of IMDb ratings across six movie genres, using five rating brackets from below 5.0 to above 8.5. The chart renders as SVG with D3.js v7, employing `d3.stack()` to compute stacked series and `d3.scaleOrdinal` for color mapping. Tooltips appear on mouseover, showing the exact percentage for each genre-rating segment using `d3.format`. Data comes from a local CSV file loaded directly in the script.

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.