swaftnishant
in my opinion answer should be 1 star as it will come on 3rd number when we'll arrange these from smallest to largest?
From the pie chart (total users = 29,984), the percentage distribution by stars is:
• 1 star: 18.4%
• 2 stars: 14.9%
• 3 stars: 9.0%
• 4 stars: 25.0%
• 5 stars: 32.7%
These sum to 100%.
1) Median number of stars
Sort ratings from 1→5 and compute cumulative percentages:
• Up to 1 star: 18.4%
• Up to 2 stars: 18.4%+14.9%=33.3%
• Up to 3 stars: 33.3%+9.0%=42.3%
• Up to 4 stars: 42.3%+25.0%=67.3%
• Up to 5 stars: 100%
The median lies at the 50th percentile. The cumulative crosses 50% within the 4-star group (goes from 42.3% to 67.3%). Therefore, the median rating is 4 stars.
2) Number of users who gave the median rating (nearest hundred)
Users giving 4 stars = 25.0% of 29,984.
0.25 × 29,984 = 7,496 users → to the nearest hundred ≈ 7,500 users.
Final
• Median stars: 4
• Number of users at the median rating (nearest hundred): 7,500