Assignment-2.1
✓ Published0🌍 Public
This pie chart displays the distribution of cricketers across ten countries, using data from a provided CSV file. It shows the number of players from each nation, with countries like Australia and India having the highest counts. The visualization is rendered on an HTML5 canvas using the Chart.js library, which generates the pie chart and handles the interactive tooltips. The tooltip callback calculates and displays the percentage each country contributes to the total player count, and the legend is positioned on the right side of the chart.
AI-generated descriptionMIT Licensed