Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Activity-8_Task2

Public visualization

Activity-8_Task2

0 stars0๐ŸŒ Public
SSree Yuktha Sunkara
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Activity-6

A horizontal stacked bar chart displays the distribution of IMDb movie ratings across six genres, with each bar segmented into five rating categories from below 5.0 to above 8.5. The chart uses d3.stack to compute the layered bar segments, d3.scaleBand for genres on the y-axis, and d3.scaleLinear for the percentage scale on the x-axis. Interactive tooltips appear on mouseover, showing the exact percentage for each genre-rating combination. Data comes from a CSV file loaded with d3.csv.

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