Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task-2

Public visualization

Activity 6_Task-2

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

A stacked bar chart displays the distribution of IMDb ratings across six film genres, with each bar segmented into five rating categories from below 5.0 to above 8.5. The visualization uses D3 v7’s `d3.stack`, `d3.scaleOrdinal`, `d3.scaleLinear`, and `d3.scaleBand` to render SVG rectangles, with interactive tooltips showing exact percentages on mouseover. Data comes from a local CSV file, and the chart includes axes, a title, and a color legend.

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.

Comments

Sign in to join the discussion.

MIT Licensed