Change chart div from one page to another one

I want to make a copy of c3.js graph of erpnext in desk#modules/Accounts from desk#query-report/Balance Sheet.Please help me.

This is not customisable via custom app right now. You need to create a new report similar to balance sheet, and there you can implement different chart. For current chart, you can check the code here.