Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task_1

Public visualization

Viewing a saved revision (read-only)

e4497a68d1d94127af9c4b7c176725b9

Activity6_Task_1

0 stars0🌍 Public
Sshaikfiroze186@gmail.com
Last edited Apr 11, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This stacked bar chart visualizes the percentage distribution of movie ratings across different genres, split into five rating levels from "Below 5.0" to "Above 8.5". The horizontal bars for each genre are subdivided into colored segments, with a legend identifying each rating category. The visualization is built with D3 v7, using `d3.scaleBand` and `d3.scaleLinear` for positioning, and an ordinal color scale for the rating segments. Data is loaded from a CSV file and rendered as SVG rectangles.

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.