Assg2_q1_lekha
✓ Published0🌍 Public
This example visualizes the distribution of documentary genre ratings across five ranges, from below 5.0 to above 8.5, using a pie chart. The chart is rendered as SVG with D3 v7, loading data from a CSV file hosted on GitHub. It uses `d3.pie()` to compute arc angles and `d3.arc()` to generate the pie slices, with a categorical color scale and a legend. Labels are positioned at each slice's centroid for readability.
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.
MIT Licensed