Fork of Activity_7_1_Question_1
✓ Published1🌍 Public
This pie chart visualizes the market capitalization of S&P 500 companies as proportional slices, with each slice labeled by ticker symbol and value in billions. The code loads CSV data from a GitHub gist, converts market cap values to numbers, and uses `d3.pie` and `d3.arc` to generate the chart in SVG. A color scale assigns categories from `d3.schemeCategory10`, and a legend lists company names alongside their corresponding colors.
AI-generated descriptionMIT Licensed