Skip to main content
100%

Task8_Task(2)

✓ Published1🌍 Public
Jjyothirmai318@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from Hello VizHub

A stacked horizontal bar chart displays the distribution of IMDb movie ratings across six genres, broken into five rating brackets from below 5.0 to above 8.5. Each bar is segmented proportionally, with colors assigned per bracket via `d3.scaleOrdinal`, and hover interactions reveal exact percentages using a custom tooltip. The chart is rendered as SVG, using `d3.stack`, `d3.scaleLinear`, and `d3.scaleBand` for layout, with axes and labels styled via CSS. The data comes from a CSV file, processed directly in D3 v7 within the VizHub environment.

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