Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity6-Task2

Public visualization

Activity6-Task2

0 stars0๐ŸŒ Public
Aaashishvinayvasala@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024

A stacked bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating categories from below 5.0 to above 8.5. The chart uses d3.stack() to compute the stacked series and d3.scaleOrdinal() for the color encoding, rendering as SVG with d3.axisBottom and d3.axisLeft. Hovering over a segment displays a tooltip showing the exact percentage for that rating category within the genre. Data comes from a local CSV file loaded through D3's data loading methods.

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