Hi @Rishita_Chebrolu,
Unfortunately there is currently no way to alter the Legend text in QuickSight.
At AWS, our roadmap is primarily driven by our customers, your feedback helps us build a
better service. I agree this would be a very nice addition so I have tagged this as a feature request to provide further visibility to our support team!