thomasp85 / fiery

A flexible and lightweight web server
https://fiery.data-imaginist.com
Other
240 stars 12 forks source link

Is there a way I can create Plotly graph in fiery #44

Closed vikram-rawat closed 3 years ago

vikram-rawat commented 4 years ago

I want to get the plotly code generated through R plotly and serve it on an API may be as plain text and then consume it on front end. How's that possible

thomasp85 commented 4 years ago

Can you provide a minimal code example of what you want to be able to do?

jackparmer commented 3 years ago

I want to get the plotly code generated through R plotly and serve it on an API may be as plain text and then consume it on front end

Plotly wrote Dash for R ("DashR") for exactly this use case (DashR uses Fiery as its web server). Here's a basic example of what you're describing: