Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task2

Public visualization

Activity6_Task2

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

This example visualizes the distribution of IMDb movie ratings across genres, using a horizontal stacked bar chart to show the proportion of ratings in five categories from below 5.0 to above 8.5. The chart loads data from a local CSV file and renders it as SVG using D3 v7, with d3.stack for the stacked layout and d3.scaleOrdinal for color encoding. Interactive tooltips display the exact percentage for each genre-rating segment on mouseover, and the axis labels are formatted with d3.format.

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.

Comments

Sign in to join the discussion.

MIT Licensed