Link reset button to update graph and table

Hello ,
I have a table and in the backend i have a csv file in which i have sales (sales1 and sales2). Also i am plotting a graph in which initial sales1==sales2 (ie both graph overlapped).I make changes in table and click on ‘SUBMIT Button’ and my sales2 changes accordingly.

So now i want a reset button which resets my table values to default and also updates my graph also to default graph ie (sales1==sales3 (ie overlapped graph)

Workflow i need
I update table ----> ‘Submit Button’ —> graph changes ----> ‘Reset Button’-----> Default table and default graph