Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Activity6_Task2

0 stars2๐ŸŒ Public
MMallikarjun Narra
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

A stacked horizontal bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating bands from below 5.0 to above 8.5. Using d3.stack and d3.scaleOrdinal, the chart maps the percentage data from CSV to colored segments with a tooltip that displays exact percentages on hover. The visualization relies on d3.axisBottom, d3.axisLeft, and d3.scaleBand for layout, and renders as SVG with a 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