Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6 Q2

Public visualization

Viewing a saved revision (read-only)

11269843e25846f6b56a129e6d44250b

Activity-6 Q2

0 stars0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 6, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This stacked bar chart displays the distribution of IMDb movie ratings across eight genres, showing the proportion of films falling into each rating bracket from “below 5.0” to “above 8.5.” The horizontal bars use d3.stack with d3.scaleOrdinal for color coding, with axes rendered via d3.axisLeft and d3.axisBottom on an SVG canvas. Hovering over any segment triggers a tooltip that displays the exact percentage for that rating level within the genre, with opacity changes and event listeners from d3-selection. Data originates from a CSV file loaded with d3.csv.

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.