Skip to main content
100%

activity 6_task 2

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

This example visualizes the distribution of IMDb movie ratings across five genres as a stacked horizontal bar chart. It shows the percentage of movies within each rating bucket. The chart uses D3.js v7 to load CSV data, map it, and apply a stacked layout. It includes interactive tooltips and uses SVG rendering. The colors are assigned via a scaleOrdinal color scheme, and the axes are styled with a custom font.

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