web development – Best practices for data manipulation to use in admin dashboard application?

I am trying to create admin dashboard to track sales and inventory. Using React front end and Django rest backend API.

Right now I am pulling sales and would like to make some charts.

What’s the practice here?

Do I pull raw data then manipulate data in React? With some package?

Do I manipulate in backend? Do I creati api point like remote function and then backend manipulates data on the fly? Or Do I create database table to hold data for each report (sales last 7 days… etc)?

What is the best practice?