Skip to main content
Public

Share visualization

Loading preview…

Activity 8 Task 2

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

Activity 8 Task 2

0
Nneeleshalapati@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the distribution of IMDb movie ratings across six genres, breaking down the percentage of films into five rating categories from "below 5.0" to "above 8.5". The horizontal bars are segmented by rating band using distinct colors from a custom scale, with genre labels on the y-axis and a numerical percentage scale on the x-axis. The visualization is rendered using D3.js v7, leveraging `d3.stack`, `d3.scaleBand`, and `d3.scaleLinear` to construct the chart, and includes interactive tooltips that display the exact percentage for each genre-rating segment on mouseover.

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