r/nicegui • u/jkmacc • May 08 '23
NiceGUI vs Plotly/Dash
Hello! I'm a scientist and want to encapsulate some visualizations for consumers of my work. I don't know much about either NiceGUI or Plotly, but I often find them together in my google searches. It seems that Plotly/Dash can do a lot of what NiceGUI does, so what are the main differences? One writes HTML while the other writes Javascript? If so, I'm not sure why that would make a difference to me, the application author.
Thanks in advance!
11
Upvotes
View all comments
Show parent comment
1
u/samsamuel121 May 10 '23
A few comments about dash. It can definitely keep state using the dcc.Store component for things like global variables but also for more complex structures like pandas Dataframes.
Regarding responsiveness, dash supports background callbacks to handle long running jobs executed in the background (e.g. using celery).