Skip to main content
100%

activity_6task2

✓ Published0🌍 Public
HHarinathChakali33@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example shows a stacked bar chart of IMDb movie ratings across six genres, with each bar divided into five rating categories from "below 5.0" to "above 8.5" on a percentage scale. The visualization uses D3 v7 to load CSV data, stack series with `d3.stack`, and render SVG rectangles with `d3.scaleOrdinal` for color encoding. Interactive tooltips appear on mouseover, and axes are generated via `d3.axisBottom` and `d3.axisLeft`, with the data sourced from the included CSV file.

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