Skip to main content
100%

Fork of Activity_7_1_Question_1

✓ Published1🌍 Public
LLarry Johnson
Last edited Nov 7, 2024
Created on Nov 7, 2024
Forked from Activity_7_1

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 description
MIT Licensed

Similar vizzes