Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6 Task-2

Public visualization

Activity-6 Task-2

0 stars1🌍 Public
Aarthireddykota@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Activity-6

This example visualizes the distribution of IMDb movie ratings across different genres using a stacked horizontal bar chart. Each bar represents a genre, with segments indicating the percentage of movies falling into five rating categories from below 5.0 to above 8.5. The chart employs D3 v7’s `d3.stack`, `d3.scaleOrdinal`, and `d3.axisLeft` APIs, with data loaded from a local CSV file. Interactive tooltips display precise percentages on mouseover, while the SVG rendering uses custom styling from external fonts.

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