Skip to main content
100%

Activity6_Question3

✓ Published0🌍 Public
JJayanth Reddy Sripathi
Last edited Oct 25, 2024
Created on Oct 25, 2024

This example visualizes IMDb movie ratings by genre using a dumbbell plot, showing the percentage distribution across five rating brackets from below 5.0 to above 8.5. The chart displays colored circles for each rating category along a shared horizontal axis, with genres listed vertically. The visualization uses D3 v7 with SVG rendering, employing `d3.scaleLinear` for the percentage axis, `d3.scaleBand` for genre positioning, and `d3.scaleOrdinal` for categorical colors. Interactive tooltips appear on mouseover, displaying exact percentages, while the data is loaded from an external 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.
MIT Licensed

Similar vizzes