Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Question4

Public visualization

Viewing a saved revision (read-only)

56449ae3939c482ab7c4c04fef3c3b1a

Activity6_Question4

0 stars2🌍 Public
Nneerajreddyaluka@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This visualization compares rating distributions across movie genres through a bubble chart, showing the percentage of films falling into five rating bands from "below 5.0" to "above 8.5" for categories like Documentary, Drama, and Action. Each genre's mid-range rating share (6.5-7.5) is mapped to both the vertical position and bubble radius, while color distinguishes genres. Built with d3.v7, the chart uses d3.scaleBand and d3.scaleLinear for axes, d3.scaleOrdinal for colors, and features CSS-driven hover effects with a custom tooltip displaying complete rating breakdowns for each genre. Data comes from a CSV file containing proportional ratings per genre.

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.