Hi @lekciewp
Thanks for reaching out!
Currently, WooCommerce does not provide a direct PHP function or shortcode to display the backend analytics charts on the front end. The analytics data is specifically designed to be viewed within the WooCommerce admin area for security and privacy reasons.
However, you can consider using the WooCommerce REST API to fetch the data you need and then use a charting library to display this data on the front end. Please note that this would require custom coding and a good understanding of both PHP and JavaScript.
Unfortunately, custom coding is not something we can assist with directly. However, I’ll keep this thread open for a bit to see if anyone from the community can lend a hand.
If you have any other questions related to development or custom coding, don’t hesitate to reach out to some of the great resources we have available for support. The WooCommerce community is filled with talented open-source developers, and many of them are active on the channels listed below:
Hope this helps!