Dashboard Analytics

I was looking to add some analytics (bar,line,donut graphs etc) to my app client-side dashboard. I had thought to use Polaris viz but this package is now deprecated and has peer dependencies so there could be versioning conflicts. Also I am unsure how happy Shopify are about using deprecated resources when approving an app. I can create some very basic bar graphs using polaris components but a better library conforming to Shopify approved practice would be useful. Tailwind/Shadecn would be great but not technically polaris. Any advice from you guys at Shopify would be greatly appreciated. No rush. Thanks for your hep in advance.

1 Like

Hey @Stephen_D :waving_hand: - you’re right that using the deprecated Polaris Viz package might cause versioning conflicts, but it wouldn’t automatically disqualify your app from being published on the Shopify App Store.

That said though, we generally recommend using up-to-date Polaris libraries for better long-term maintainability and support (as well as following our design guidelines).

For data visualization in app though you could leverage our Remix-based embedded app approach to implement an embedded app within the admin, and then build custom visualizations within JS if you’d like to look at that as an option. Could you share more details about what type of data you’re looking to visualize there? Just wanting to confirm what you’re looking to build, since there are some limitations in our API Terms of Service regarding replicating Shopify’s native reports.

Hope this helps and hope to speak soon!

Hi Alan, Thanks a million for the very prompt reply. We are not doing anything out of the ordinary at all. Just an app to handle manufacturing processes and the graphs are on the dashboard to advise companies on the level of penetration they have achieved with report generation and statistics such as use frequency etc. So nothing strange. I think we will build out the app in it’s totality and then pass it for review. We don’t plan on graphing beyond the Dashboard so even if it were disapproved it’s not an impossible fix by any means. Keen to get the “Built for Shopify” badge so hence the question. Pity about the deprecation of Polaris Viz but it was clearly not getting used a lot. Again thanks very much for the speedy reply.

1 Like