Open jacobq opened 5 years ago
I've got a prototype of something like that in m93a/demonstration-general-fit-uncertainty (try it online). I needed that for a school project. It uses TypeScript, Plotly.js and React but could be simplified to use just Plotly.js. I'll take a look at that during the weekend.
@m93a Thanks for sharing. Something like that might be well-suited for deployment to GH pages. My concern with that was that I didn't think it'd be easy to allow live editing (safely), but we could always have a separate JSbin / CodePen / whatever template for that purpose, or we could try to get fancy with CodeMirror or something (good example is the the Glimmer playground (source)).
Deploying to GH pages would be nice indeed. I'm OK if it requires a build step.
I think it would be very nice to have an interactive demo to play with -- perhaps using plotly.js and JSbin. This could be useful for users wanting to try it out and also for reproducing problems (e.g. better than copy/pasting code into comments).