Skip to main content
100%

Activity6_task2

✓ Published1🌍 Public
Jjahnavigummadi@my.unt.edu
Last edited Oct 19, 2024
Created on Oct 19, 2024

This example visualizes the distribution of IMDb movie ratings across six genres, using a stacked horizontal bar chart. Each bar segment represents the percentage of movies within a rating category, from below 5.0 to above 8.5, and the data is compiled in the `data.csv` file. The visualization is built with D3 v7, utilizing `d3.scaleOrdinal` for color mapping, `d3.axisBottom` for the x-axis, and a custom tooltip on mouseover to display exact percentage values. The chart is rendered as an SVG with a clean, stylized layout.

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