I have tried hitting shift+F3 and just F3, but the graph won't go away. It appears to freeze when I close the debug menu. It even stays there when I exit to the title screen.
How to replicate:
1: Join a world
2: Hold Shift while pressing F3
3: When you exit the debug menu, the graph will stay on the screen until you restart Minecraft
Thank you for your report!
We're actually already tracking this issue in MC-170816, so I resolved and linked this ticket as a duplicate.
However, that ticket has already been resolved as Fixed. The fix will arrive in the next version or is already included in the latest development version of the game.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki