Git Product home page Git Product logo

Comments (3)

cmtso avatar cmtso commented on July 24, 2024

UDPATE:

I think the issue is with reading in the data using r2d3(data=...). Basically, I can run all the examples that do not require reading data from R perfectly. But for the ones requiring data from R, the data does not show up.

I am running it on Windows in Rstudio 1.2 and using servr package as the browser. Please help. Thanks.

from r2d3.

javierluraschi avatar javierluraschi commented on July 24, 2024

The bubbles examples makes use of onRender() but happens to work just fine for me using Windows 10, does the code bellow work for you? Could you share the exact error?

download.file("https://raw.githubusercontent.com/rstudio/r2d3/master/vignettes/gallery/bubbles/bubbles.js", "bubbles.js")

r2d3::r2d3("bubbles.js", data = read.csv("https://raw.githubusercontent.com/rstudio/r2d3/master/vignettes/gallery/bubbles/flare.csv"), d3_version = 4)

Screen Shot 2019-07-02 at 4 17 53 PM

Screen Shot 2019-07-02 at 4 19 51 PM

from r2d3.

cmtso avatar cmtso commented on July 24, 2024

Great. I get it done now. Thanks!

from r2d3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.