Skip to main content
100%

Ativity_6_task3

✓ Published0🌍 Public
Aazeemrm630@gmail.com
Last edited Oct 25, 2024
Created on Oct 24, 2024

A stacked horizontal bar chart compares the percentage of IMDb ratings across different movie genres. Each bar is segmented by rating service, with colors distinguishing the services, and hovering over a segment reveals the exact percentage via a tooltip. Built with D3 v7, the visualization uses `d3.scaleOrdinal` for colors, `d3.scaleBand` for the categorical y-axis, `d3.stack` for the stacked data, and `d3.axisBottom` and `d3.axisLeft` for axes. Data is loaded from an external source, and the SVG rendering includes custom styling from `styles.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