Live data from Hacker News

Ggplot2 docs remade in D3.js

moderndata.plot.ly

1–10 of 13 posts

Re: Ggplot2 docs remade in D3.js

#2
I was recently looking into ggiraph (https://cran.r-project.org/web/packages/ggiraph/vignettes/gg...) for converting ggplot2 to d3 since it keeps most of the same syntax as normal ggplot2 charts.

However, looking at the output of these plot.ly charts may make me reconsider since they have good performance and the conversions appear extremely accurate (and the software is open-source). Well played.

Unfortunately, the charts hit the same issue as every other JS library in that they are nigh unusable on mobile devices for nontrivial visualizations. Which is beginning to get annoying.

Re: Ggplot2 docs remade in D3.js

#3

I was recently looking into ggiraph ( https://cran.r-project.org/web/packages/ggiraph/vignettes/gg... ) for converting ggplot2 to d3 since it keeps most of the same syntax as normal ggplot2 charts. However, looking at the output of these plot.ly charts may make me reconsider since they have good performance and the conversions appear extremely accurate (and the software is open-source). Well played. Unfortunately, th…

totally agree. JS heavy lib just make the whole UX suffers, even it does look nice. maybe there's some html5 solution?

Re: Ggplot2 docs remade in D3.js

#4
Plot.ly by default will tie in their social services and copy all of your data to other people's computers.

I raised this issue with the project maintainers and they stated that the wish of the parent company is for this to remain the default.

So, just a warning to enterprise developers, you have to fiddle with this to turn that off, but without a clear policy statement or a reasonable fork of the project that addresses the privacy and security issues, I've been advocating against use of Plot.ly.

Re: Ggplot2 docs remade in D3.js

#5
post #4

Plot.ly by default will tie in their social services and copy all of your data to other people's computers. I raised this issue with the project maintainers and they stated that the wish of the parent company is for this to remain the default. So, just a warning to enterprise developers, you have to fiddle with this to turn that off, but without a clear policy statement or a reasonable fork of the project that addres…

I'm using plotly. Do you have specific technical info here on how to turn it off and how it's sent to them? Do you have your contact with the project maintainers.

Re: Ggplot2 docs remade in D3.js

#6
post #4

Plot.ly by default will tie in their social services and copy all of your data to other people's computers. I raised this issue with the project maintainers and they stated that the wish of the parent company is for this to remain the default. So, just a warning to enterprise developers, you have to fiddle with this to turn that off, but without a clear policy statement or a reasonable fork of the project that addres…

I'm using plotly. Do you have specific technical info here on how to turn it off and how it's sent to them? Do you have your contact with the project maintainers.

Probably this: https://github.com/plotly/plotly.js/issues/316

see the sendDataToCloud function here: https://github.com/plotly/plotly.js/blob/f1701614e46d3bdf4fc...

There are instructions in the issue link on how to turn this behavior off.

Re: Ggplot2 docs remade in D3.js

#7
post #6

Earlier quoted context omitted.

I'm using plotly. Do you have specific technical info here on how to turn it off and how it's sent to them? Do you have your contact with the project maintainers.

Probably this: https://github.com/plotly/plotly.js/issues/316 see the sendDataToCloud function here: https://github.com/plotly/plotly.js/blob/f1701614e46d3bdf4fc... There are instructions in the issue link on how to turn this behavior off.

Yes, this is the issue. I noticed just now they have since tagged this for discussion and also a possible change in version 2.0.

Re: Ggplot2 docs remade in D3.js

#9
post #4

Plot.ly by default will tie in their social services and copy all of your data to other people's computers. I raised this issue with the project maintainers and they stated that the wish of the parent company is for this to remain the default. So, just a warning to enterprise developers, you have to fiddle with this to turn that off, but without a clear policy statement or a reasonable fork of the project that addres…

I like the work they're doing, but their 'as a service' model makes it a nonstarter for pretty much every project I've done; both at home and at work.

Re: Ggplot2 docs remade in D3.js

#10
My problem with D3 is that I can never just sit down and say:

"This is what I'm going to make, its going to be the coolest visualization in the world, NY Times is going to hire me"

It is really the most counterintuitive library I've ever had to deal with. How about you?

Post reply on HN