Q1.1
✓ Published0🌍 Public
This pie chart visualizes the GDP of the top 15 Indian states for the financial year 2015-16, sorted in descending order. Using D3 v5, it renders an SVG with pie segments and a legend that displays each state's name and income value in "Rs". The legend uses color-coded rectangles mapped via `d3.scaleOrdinal` and `d3.schemeCategory10`. Data is loaded from a CSV file using `d3.csv` and processed with `d3.pie` and `d3.arc`.
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