🌍 Public
Viewing a saved revision (read-only)
af9d96aafa2c470a817bbd60d76eb12c
Task 9 Ques 1(1)
This visualization shows the distribution of IMDb movie ratings below 5.0 across different genres using a pie chart. It uses d3.csv to load the dataset and d3.pie to compute the arc segments, while d3.arc generates the SVG path shapes. Each slice is colored with d3.scaleOrdinal, and genre labels are placed using an inner arc's centroid calculation. A legend on the right side maps colors to genre names, with all elements rendered as SVG within a 960x700 pixel viewport.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.