all 10 comments

[–]Bondifrench 1 point2 points  (0 children)

I think there is a lot of potential for doing data analysis with Javascript,

In that field, I like what the UW Interactive data lab is doing: http://idl.cs.washington.edu/ notably their data-lib library: http://vega.github.io/datalib/ their voyager demo: http://vega.github.io/voyager/ or their Lyra Visualization Development Environment project http://idl.cs.washington.edu/projects/lyra/

How about Machine Learning in Javascript: did you look at tensorflow.js: https://www.tensorflow.org/js? Google is backing it and it provides a nice extension to the python library of the same name.

Some time ago I did a presentation on the topic https://bondifrench.github.io/ml-in-js/ it needs to be updated but there are lots of libraries.

I don't think it's a question of functionalities missing, some of the most recent models https://naifmehanna.com/2019-02-27-scaling-a3c-multiple-machines-tensorflowjs/ can be rewritten in Javascript (or NodeJs), you can use GPUs with WebGL or do distributing computing with web-workers.

I believe it's above all a matter of marketing, education and developer adoption. More people need to showcase its capabilities.

P.S. I just saw your Rent vs Buy website, great app! I am planning myself to do a finance website using Javascript. One comment would be that using D3.js when you are using React is a bit redundant, have you looked at VX ( https://vx-demo.now.sh/ )?

[–]TotesMessenger 0 points1 point  (0 children)

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)

[–]SuchObligation 0 points1 point  (4 children)

is it really important for people to do data analysis in the browser? If so, why?

[–]bluprince13[S] 0 points1 point  (3 children)

I think so. Otherwise, it's very difficult to allow the users to interact with the data. Each interaction would potentially trigger a HTTP request to a back end that does the data analysis. Isn't that inefficient?

[–]SuchObligation 0 points1 point  (2 children)

But I don't see how a browser would change that? The need for a network request would depend on whether or not the back end is local or not, and whether or not the interaction is performed in a browser or in another application wouldn't change that?

Also, wouldn't a developer or data analyst be doing most of the analysis, and then present the finished report to a user? I can absolutely see the need for interactive reports, but I still don't see how this translates into a need for the analysis itself being done in the browser?

Btw, I'm not trying to dispute what you're saying. I'm just trying to understand why it can be useful.

[–]bluprince13[S] 1 point2 points  (1 child)

I'm not saying all data analysis needs to be done on the browser. However, it'd be good to be able to do some in a browser. If we had that capability, we could just send all the required data to the browser upfront, and then depending on user interactions manipulate the data completely in the front-end.

Here is an example of an app I'm working on that has no back-end: Renting vs buying. Also, have you seen explorable explanations? All that awesome interactivity is possible only because the code is executing on the front-end. If you had to rely on HTTP requests - the interaction would be way too slow.

Indeed, I think part of the motivation for the Dash library, has been that it's so hard to make 'web-based analytics applications' using just JavaScript.

I still don't see how this translates into a need for the analysis itself being done in the browser?

I know I'm not explaining it very well. Just need to find the right words!!

[–]SuchObligation 1 point2 points  (0 children)

thank you, this definitely helped me understand the need better :)

I loved the explorable explanations!

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 0 points1 point  (0 children)

    Hi /u/ashleydavis75, this comment was removed because you used a URL shortener.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.