Skip to content

Commit 512f448

Browse files
author
Joseph Damiba
committed
change tld
1 parent 8ff4491 commit 512f448

File tree

84 files changed

+154
-154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+154
-154
lines changed

ggplot2/2015-08-10-getting-started.Rmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ output:
1212
---
1313
# Plotly for R
1414

15-
Plotly is an R package for creating interactive web-based graphs via [plotly](https://plot.ly/)'s JavaScript graphing library, `plotly.js`.
15+
Plotly is an R package for creating interactive web-based graphs via [plotly](https://plotly.com/)'s JavaScript graphing library, `plotly.js`.
1616

1717
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.
1818

@@ -140,7 +140,7 @@ fig <- plotly_build(fig)
140140
str(fig)
141141
```
142142

143-
This declarative description of the graph is very human readable. Every attribute of the chart, the colors, the data, the text, is described in a key-value pair in this object. [View all of the possible graph attributes.](https://plot.ly/r/reference)
143+
This declarative description of the graph is very human readable. Every attribute of the chart, the colors, the data, the text, is described in a key-value pair in this object. [View all of the possible graph attributes.](https://plotly.com/r/reference)
144144

145145
Attributes of plotly figures are grouped into two categories: `data` and `layout`. `data` describes attributes that pertain to the plot's series, or "traces". These properties include things like the `x` and `y` data, the `color` and `name` of the trace, which axis the trace is bound to. `data` is an unnamed list.
146146

@@ -189,7 +189,7 @@ str(fig$x$layout$plot_bgcolor) # the background color of the plot is "rgb(229,22
189189
str(fig$x$layout$legend)
190190
```
191191

192-
Each of these properties was extracted and translated from the original ggplot2 figure. [View all of the possible attributes](https://plot.ly/r/reference).
192+
Each of these properties was extracted and translated from the original ggplot2 figure. [View all of the possible attributes](https://plotly.com/r/reference).
193193

194194
You can edit or add these attributes and then send the figure to Plotly. Let's add custom hover text (`text`), change the legend names (`name`) add a title (`layout$title`)
195195

@@ -217,7 +217,7 @@ fig
217217

218218
#### Resources
219219

220-
- [ggplot2 examples](https://plot.ly/ggplot2)
221-
- [Plotly's native R DSL](https://plot.ly/r)
222-
- [Plotly's declarative graph description reference](https://plot.ly/r/reference)
220+
- [ggplot2 examples](https://plotly.com/ggplot2)
221+
- [Plotly's native R DSL](https://plotly.com/r)
222+
- [Plotly's declarative graph description reference](https://plotly.com/r/reference)
223223
- [`plotly` R package on GitHub](https://github.com/ropensci/plotly)

ggplot2/2017-04-21-geom_quantile.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ Reference: [ggplot2 docs](http://ggplot2.tidyverse.org/reference/geom_quantile.h
8181

8282
### Reference
8383

84-
See [https://plot.ly/r/reference](https://plot.ly/r/reference) for more information and options!
84+
See [https://plotly.com/r/reference](https://plotly.com/r/reference) for more information and options!

ggplot2/2017-04-21-geom_rug.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ Reference: [ggplot2 docs](http://ggplot2.tidyverse.org/reference/geom_rug.html#e
4444

4545
### Reference
4646

47-
See [https://plot.ly/r/reference](https://plot.ly/r/reference) for more information and options!
47+
See [https://plotly.com/r/reference](https://plotly.com/r/reference) for more information and options!

ggplot2/2017-04-21-geom_spoke.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ Reference: [ggplot2 docs](http://ggplot2.tidyverse.org/reference/geom_spoke.html
3737

3838
### Reference
3939

40-
See [https://plot.ly/r/reference](https://plot.ly/r/reference) for more information and options!
40+
See [https://plotly.com/r/reference](https://plotly.com/r/reference) for more information and options!

ggplot2/2018-06-22-geom_sf.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ fig
4242

4343
### Using Native Plotly
4444

45-
Alternatively, you can use [`plot_ly`, `plot_geo`, or `plot_mapbox`](https://plot.ly/r/maps-sf/).
45+
Alternatively, you can use [`plot_ly`, `plot_geo`, or `plot_mapbox`](https://plotly.com/r/maps-sf/).
4646

4747
### Reference
4848

49-
See [https://plot.ly/r/reference/](https://plot.ly/r/reference/) for more information and chart attribute options! If you would like to read more on visualizing geo-spatial data with sf and ggplotly click [here](https://blog.cpsievert.me/2018/01/30/learning-improving-ggplotly-geom-sf/).
49+
See [https://plotly.com/r/reference/](https://plotly.com/r/reference/) for more information and chart attribute options! If you would like to read more on visualizing geo-spatial data with sf and ggplotly click [here](https://blog.cpsievert.me/2018/01/30/learning-improving-ggplotly-geom-sf/).

ggplot2/2019-07-30-geom_hex.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ output:
1717
knitr::opts_chunk$set(message = FALSE, warning=FALSE)
1818
```
1919
### Basic 2d Heatmap
20-
See also [geom_bin2d](https://plot.ly/ggplot2/geom_bin2d/) for a similar geom with rectangular bins. Note: facetting is supported in geom\_bin2d but not geom\_hex.
20+
See also [geom_bin2d](https://plotly.com/ggplot2/geom_bin2d/) for a similar geom with rectangular bins. Note: facetting is supported in geom\_bin2d but not geom\_hex.
2121

2222
Source: [Department of Canadian Heritage](https://open.canada.ca/data/en/dataset/a0bff264-1c80-41ee-aef9-e7da347c5158)
2323

r/2015-07-30-2D-Histogram.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ knitr::opts_chunk$set(message = FALSE, warning=FALSE)
1818
```
1919
#### Basic 2D Histogram
2020

21-
2D histograms require `x`/`y`, but in contrast to heatmaps, `z` is optional. If `z` is not provided, binning occurs in the browser (see [here](https://plot.ly/r/reference/#histogram2d-histnorm) for a list of binning options).
21+
2D histograms require `x`/`y`, but in contrast to heatmaps, `z` is optional. If `z` is not provided, binning occurs in the browser (see [here](https://plotly.com/r/reference/#histogram2d-histnorm) for a list of binning options).
2222

2323
```{r}
2424
# install.packages('mvtnorm')
@@ -36,7 +36,7 @@ fig2
3636
```
3737

3838
#### Colorscale
39-
If `z` is not provided, the only way to control coloring is through the [colorscale attribute](https://plot.ly/r/reference/#histogram2d-colorscale)
39+
If `z` is not provided, the only way to control coloring is through the [colorscale attribute](https://plotly.com/r/reference/#histogram2d-colorscale)
4040

4141
```{r}
4242
fig <- fig %>% add_histogram2d(colorscale = "Blues")

r/2015-07-30-3d-line-plots.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ fig
120120

121121
#Reference
122122

123-
See [https://plot.ly/r/reference/#scatter3d](https://plot.ly/r/reference/#scatter3d) for more information and chart attribute options!
123+
See [https://plotly.com/r/reference/#scatter3d](https://plotly.com/r/reference/#scatter3d) for more information and chart attribute options!

r/2015-07-30-3d-scatter-plots.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ fig
100100

101101
#Reference
102102

103-
See [https://plot.ly/r/reference/#scatter3d](https://plot.ly/r/reference/#scatter3d) for more information and chart attribute options!
103+
See [https://plotly.com/r/reference/#scatter3d](https://plotly.com/r/reference/#scatter3d) for more information and chart attribute options!

r/2015-07-30-3d-surface-plots.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fig
6363
```
6464

6565
#### Configure Surface Contour Levels
66-
This example shows how to slice the surface graph on the desired position for each of x, y and z axis. [contours.x.start](https://plot.ly/r/reference/#surface-contours-x-start) sets the starting contour level value, `end` sets the end of it, and `size` sets the step between each contour level.
66+
This example shows how to slice the surface graph on the desired position for each of x, y and z axis. [contours.x.start](https://plotly.com/r/reference/#surface-contours-x-start) sets the starting contour level value, `end` sets the end of it, and `size` sets the step between each contour level.
6767

6868
```{r}
6969

0 commit comments

Comments
 (0)