TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Combining the power of R and D3.js

82 pointsby tomvangoethemabout 10 years ago

8 comments

currywurstabout 10 years ago
The culmination of such an approach is realized in the Beaker Notebook (<a href="http://www.beakernotebook.com" rel="nofollow">http:&#x2F;&#x2F;www.beakernotebook.com</a>). You can not only switch between languages, but the environment allows you to share datasets between Groovy, Python, JS, Julia, Ruby etc ..<p>It&#x27;s a work in progress, but something to watch out for, imho
评论 #9184518 未加载
minimaxirabout 10 years ago
Since the post linked to my ggplot2 tutorial, I should probably mention that I&#x27;m really not a fan of interactive charts&#x2F;D3 for <i>static</i> content, because a) loading the data can dramatically increase the loading time of the webpage and b) interactive charts <i>will</i> break on mobile devices, so you need to invest time to QA that.<p>Rstudio now offers HTMLWidgets which allow for interactive chart generation natively, which is interesting: <a href="http://blog.rstudio.org/2014/12/18/htmlwidgets-javascript-data-visualization-for-r/" rel="nofollow">http:&#x2F;&#x2F;blog.rstudio.org&#x2F;2014&#x2F;12&#x2F;18&#x2F;htmlwidgets-javascript-da...</a>
RBerenguelabout 10 years ago
Somewhat close in spirit to what seems like a never-ending side project I have: <a href="https://dl.dropboxusercontent.com/u/7702253/AlthingiJS-1.mov" rel="nofollow">https:&#x2F;&#x2F;dl.dropboxusercontent.com&#x2F;u&#x2F;7702253&#x2F;AlthingiJS-1.mov</a> Here I show Javascript and APL, but the plan is to eventually include at the very least also R. But so far I&#x27;m still rewriting what I have until I&#x27;m happy with it, so it&#x27;s taking ages.
评论 #9156863 未加载
dmichulkeabout 10 years ago
This is why I prefer using clojure + incanter.<p>You get interactive freechart dialogues (and much more).<p>Library: <a href="https://github.com/incanter/incanter" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;incanter&#x2F;incanter</a><p>A few (impressive) slides: <a href="http://incanter.org/docs/data-sorcery-new.pdf" rel="nofollow">http:&#x2F;&#x2F;incanter.org&#x2F;docs&#x2F;data-sorcery-new.pdf</a>
couchandabout 10 years ago
R is a very powerful tool, but I fail to see how it&#x27;s adding value in this case. It seems like the author is advocating just using R to clean up the data and put it in JSON. The same can be done (without overhead for context switching and server-client architecture) in JS itself. Tools like Crossfilter [0] can be seamlessly integrated with D3.<p>[0]: <a href="https://square.github.io/crossfilter/" rel="nofollow">https:&#x2F;&#x2F;square.github.io&#x2F;crossfilter&#x2F;</a>
评论 #9157178 未加载
评论 #9156867 未加载
评论 #9158671 未加载
sinwaveabout 10 years ago
There is a seemingly dead github repo called &quot;R2D3&quot; by hadley wickham. Wonder what came of that project?<p><a href="https://github.com/hadley/r2d3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hadley&#x2F;r2d3</a>
IndianAstronautabout 10 years ago
I wonder how this will compare to ggvis when it becomes more advanced. Also, I recommend looking intk Shiny for interactivity.
评论 #9157496 未加载
homerowilsonabout 10 years ago
A better approach IMO:<p><a href="http://htmlwidgets.org" rel="nofollow">http:&#x2F;&#x2F;htmlwidgets.org</a>