Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Acitivity6_Task2

Public visualization

Viewing a saved revision (read-only)

f5679c2bb2c440249d53ba0f99d0577a

Acitivity6_Task2

0 stars0🌍 Public
PPadmajaKodati@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This stacked horizontal bar chart shows the distribution of IMDb movie ratings across six genres, with each bar divided into five rating categories from “below 5.0” to “above 8.5” as proportions of total films. The visualization uses `d3.stack` to accumulate the percentage data per genre, `d3.scaleOrdinal` with a custom color palette for category encoding, and `d3.axisBottom` with gridlines for the shared percentage scale. Interactive tooltips appear on mouseover, displaying the exact percentage for each rating segment, while the SVG rendering uses D3 v7 with data from the provided 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.