quick made grasshopper spectrum preview component, it might help your project. Very simple just send geometry list and same length float value list at same time.
Please feel free to use it.
Example how to use:
After installing, it appears in display category. I did not spent much time to add icon. Actually I couldn’t. It seems a bug that what rhino coder’s forum says.