Comments (5)
this one is similar but also quite nice, welcoming, and helpful https://github.com/trifacta/vega/wiki/Tutorial
from rcharts.
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.
from rcharts.
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.
Here are some answers to your questions:
-
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')
-
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.
-
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.
-
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.
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)
- Domain expiry of rcharts.io HOT 2
- Installation failed:comand failed(1) on windows 10
- Is there a way for me to modify the size of the circle in nvd3's interactive layer? HOT 1
- rCharts no longer works in a shiny application while using highcharter also
- dyLegend showZeroValues is broken HOT 1
- Remove legend from rChart
- nPlot prints text instead of graph
- Handling Cyclic or Circular data
- Why does it keep trying to install a new version of 'yaml'?? HOT 2
- rCharts dormant? HOT 2
- Hide all series EXCEPT selected series from legend HOT 1
- x axis wih Date variable shown in numbers rather than "Y-m-d" format
- rPlot no compatible with R 4.0 ?
- rCharts: Error in UseMethod("rPlot") : HOT 2
- Can't use rPlot for anything.
- Can't install packages(rCharts) for mac OS X 11.1 R4.0
- exporting function does not work anymore
- nPyramid function
- rCharts::Highcharts radar plot only renders legends in shiny
- r stock type r
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcharts.