Coder Social home page Coder Social logo

Nice Examples of Tutorials about rcharts HOT 5 OPEN

ramnathv avatar ramnathv commented on September 27, 2024 1
Nice Examples of Tutorials

from rcharts.

Comments (5)

timelyportfolio avatar timelyportfolio commented on September 27, 2024

this one is similar but also quite nice, welcoming, and helpful https://github.com/trifacta/vega/wiki/Tutorial

from rcharts.

ramnathv avatar ramnathv commented on September 27, 2024

Yes. It is a good one. I had seen it before, but did not think about it in this context. I am putting together a set of examples using rCharts and Slidify that uses the bootstrap framework. Eventually, I will have a wrapper function, that takes rCharts code and outputs a Bootstrap page, which will help users submit examples.
Screen Shot 2013-04-19 at 1 13 46 PM

from rcharts.

timelyportfolio avatar timelyportfolio commented on September 27, 2024

Never mind below. Most answered in #7.


That looks very nice. I think success of this project will depend very heavily on a multitude of user generated examples. An automated, attractive tutorial for each of these would be simply amazing. How often will this update? Or will users simply, press publish, and it gets automatically generated?

Based on the picture, each chart will have a single-page tutorial generated from the .Rmd. Did you figure out a way to do a screenshot, or will each example chart be a live example?

I'll be happy to contribute. I need to work on converting some of my old d3 and lattice stuff.

Once you get lots of examples, you might need some sort of tagging or categorizing, such as bar/line/scatter/facet/boxplot/etc. or polycharts/vega/rickshaw/nvd3/etc. I'll try to think through this.

from rcharts.

ramnathv avatar ramnathv commented on September 27, 2024

Here are some answers to your questions:

  1. The examples will automatically get generated from an R file with metadata in comments. So, the chart in question was generated from the following R file. You can include multiple examples in an R file as long as you stick to the format. I have a helper script that will split the examples, parse them and render them into a bootstrap page.

    ### {title: Multi Bar Chart, lib: polychart}
    haireye = as.data.frame(HairEyeColor)
    p2 <- rPlot(Freq ~ Hair, color = "Eye", data = haireye, type = 'bar')
    p2$facet(var = 'Eye', type = 'wrap', rows = 2)
    p2$printChart('chart')
    
  2. I am thinking of using gists and Google Forms for users to submit their examples. The idea is to create a gist with their example and then use Google Forms to submit it. Now that I am thinking, I might as well push the metadata to the Google Form to prevent transcription errors. So, the form will ask for title, author, library and link to gist. The helper script will use the Google Spreadsheet, and generate the example pages.

  3. Automating screenshots is the tricky part. For now, the Google Form will also ask for a link to a screenshot, which users can easily upload to a site like imgur. The problem with live examples is that they need to be embedded as iFrames and that can cause quite a bit of grief.

  4. Yes, I was thinking of a tag based approach for the gallery page. Two promising ideas are here and here. The second page in fact has a nice way to do continuous integration, since everything on the page is fed from a Google Spreadsheet. The first one is nice in the effects.

Thanks for your offer to help. I will use Github to maintain a list of tasks to do and ideas. So feel free to glaze over and work on anything that might be of interest to you. My task this weekend is to put everything together on rCharts, update the webpage to reflect that it is more than just PolychartJS and create a preliminary version of the examples gallery.

from rcharts.

ramnathv avatar ramnathv commented on September 27, 2024

Another example for a useful gallery is http://code.shutterstock.com/rickshaw/examples/. I like its simplicity and the fact that it provides the objective of each example at a glance.

from rcharts.

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.