Is there a panel can help export to csv or excel in grafana?

Is there a panel or other method can help to export the data shown in graph to a csv file?
OR
Can grafana link to a python script outside which can help export data?
Givd me some advice!

If you click on the title of a chart and in the drop-down go to More > Export CSV, that should hopefully do it.

Thank you very much!

Does this only work for the Enterprise version? Because I cant find this option

No; it’s definitely in the Community Edition too.

What does the Settings - Admin menu tell you is the Role for the User you’re
doing this as?

Antony.

The user’s role is a viewer

I did find it when I went to the title of the chart…under the drop down menu there’s Inspect > Data.
I was able to find the Download CSV option