Skip to main content
100%

Fork of Activity6_Task2

✓ Published0🌍 Public
Hharshabandi3060@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity6_Task2

A stacked horizontal bar chart shows the percentage distribution of IMDb ratings across six movie genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5". The visualization reads data from a CSV file and renders it using D3 v7's `d3.stack`, `d3.scaleLinear`, `d3.scaleBand`, and `d3.scaleOrdinal` APIs. Interactive tooltips appear on mouseover, displaying the exact percentage for each genre-rating segment using `d3.format`. SVG is the rendering approach, with axes and labels styled through external CSS.

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.
MIT Licensed

Similar vizzes