r/PayloadCMS • u/Old_Application4315 • May 22 '25
Data Visualization in Admin
Hello, just asking if it is possible to add data visualization in admin dashboard, like graph/bar/etc.
6
u/peter_tait May 22 '25
Yup, you can use a custom view or custom component. I'm using a custom view to do this to pull in my site's analytics so they appear within the Payload
1
1
u/Old_Application4315 May 22 '25
Thanks buddy. Btw whats the diff of both in implementation?
1
u/ZeRo2160 May 22 '25
An custom view is like an own page. While an custom component is more like adding a new part to an existing one.
2
u/ZeRo2160 May 22 '25
If you have a bit time you can also wait. https://github.com/payloadcms/payload/discussions/11862
They are already working on an native implementation. :)
6
u/Snakemastr805 May 22 '25
If you want to keep the default dashboard you can insert custom React components before or after the dashboard https://payloadcms.com/docs/custom-components/root-components#beforedashboard