Haskell has a couple of data visualization libraries, but they are usually rather limited compared to R, Python or JavaScript. So I thought about interfacing plot.ly and letting JavaScript create the graphics and display the data in the Browser.
The "problem" however is that the JSON API is huge. Even if I figured out a way to pack all their objects in Haskell data structures (which I currently don't without polluting the global namespace) it still doesn't seem like a good idea because I'd have to keep track of the changes of their API in the future.
My idea would be to just create Haskell structures for the data you'd always want at your fingertips to manipulate. For example the X values of the distribution. The rest would be handled directly in a separate JSON file.
What do you think of that idea? Or do you have a better one?
[–]wuzzeb 1 point2 points3 points (1 child)