-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ggplot2 files #33
Conversation
knitr::opts_chunk$set(message = FALSE, warning=FALSE) | ||
``` | ||
|
||
#### Introduction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's see if this can live in getting-started? see if you can make the text flow nicely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take this content and move it into the getting-started page, and then add a redirect-from such that ggplot2/user-guide/
goes to ggplot2/getting-started
language: ggplot2 | ||
--- | ||
|
||
#### Initialization for Online Plotting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one... I think we can rely on the existing R/Chart Studio page
- [ggplot2 examples](https://plot.ly/ggplot2) | ||
- [Plotly's native R DSL](https://plot.ly/r) | ||
- [Plotly's declarative graph description reference](https://plot.ly/r/reference) | ||
- [Plotly with Shiny](https://plot.ly/r/shiny-tutorial) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's remove this line!
- [Plotly's declarative graph description reference](https://plot.ly/r/reference) | ||
- [Plotly with Shiny](https://plot.ly/r/shiny-tutorial) | ||
- [`plotly` R package on GitHub](https://github.com/ropensci/plotly) | ||
- [Plotly graphs in other languages](https://plot.ly/api) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this line
|
||
Plotly is an R package for creating interactive web-based graphs via [plotly](https://plot.ly/)'s JavaScript graphing library, `plotly.js`. | ||
|
||
The [plotly R package](https://github.com/ropensci/plotly) serializes ggplot2 figures into Plotly's <a target="_blank" href="http://help.plot.ly/json-chart-schema/">universal graph JSON</a>. `plotly::ggplotly` will crawl the ggplot2 figure, extract and translate all of the attributes of the ggplot2 figure into JSON (the colors, the axes, the chart type, etc), and draw the graph with plotly.js. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The [plotly R package](https://github.com/ropensci/plotly) serializes ggplot2 figures into Plotly's <a target="_blank" href="http://help.plot.ly/json-chart-schema/">universal graph JSON</a>. `plotly::ggplotly` will crawl the ggplot2 figure, extract and translate all of the attributes of the ggplot2 figure into JSON (the colors, the axes, the chart type, etc), and draw the graph with plotly.js. | |
The [plotly R package](https://github.com/ropensci/plotly) serializes ggplot2 figures into Plotly's <a target="_blank" href="http://plot.ly/r/reference/">universal graph JSON</a>. `plotly::ggplotly` will crawl the ggplot2 figure, extract and translate all of the attributes of the ggplot2 figure into JSON (the colors, the axes, the chart type, etc), and draw the graph with plotly.js. |
💃 once comments addressed |
The purpose of this PR is to add some ggplot2 files to this repo. Also, I break off the online plotting sections of the ggplot2 getting started guide into its own doc.