Skip to main content
100%

task_9&10_question2

✓ Published0🌍 Public
HHarinathChakali33@gmail.com
Last edited Apr 22, 2024
Created on Apr 22, 2024
Forked from Hello VizHub

This visualization shows how movie ratings are distributed across genres using a stacked area chart, with each genre on the x-axis and percentage of films falling into rating buckets (below 5.0 to above 8.5) on the y-axis. The chart uses d3.stack to compute the stacked series and d3.area with d3.curveBasis to render smooth areas for each rating category. It sets scales with d3.scaleBand and d3.scaleLinear, and adds axes via d3.axisBottom and d3.axisLeft. The data is embedded directly in the code and rendered as SVG.

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