I'm not sure, I just modified it to make it look like the other dashboard, not sure how the back side works.
i realized it's missing a memory utilization bar. in the nvidia smi output i see two values. the utilization field for memory doesn't seem to reflect when plex is running transcodes. using the fb_memory_usage value works well though:
edit: found it https://docs.nvidia.com/deploy/nvml-api/structnvmlUtilization__t.html#structnvmlUtilization__t_19789def365e5aa382ac222db9c60a400
The utilization field for memory is:
so for my purposes i'd just want to know how much memory is being used, just making the bar show the % used memory