Skip to main content
Public

Share visualization

Loading preview…

Activity6_Task2

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity6_Task2

1
Gguttavenkata745@gmail.com
Last edited Oct 18, 2024
Created on Oct 18, 2024
Forked from Hello VizHub

A stacked horizontal bar chart shows the distribution of IMDb ratings across six movie genres, with each bar segmented into five rating ranges from below 5.0 to above 8.5. The visualization uses D3.js v7 with the SVG rendering framework, employing `d3.stack`, `d3.scaleBand`, and `d3.axisBottom` to construct the chart. A tooltip, implemented with D3's selection and event handlers, displays the precise percentage for each genre-rating combination on mouseover. The proportional widths of each segment allow viewers to compare rating patterns across genres at a glance.

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