Skip to content
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 timevis to showcase (without make-ing or recompiling) #325

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion include/before_body.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,14 @@ <h5 class="list-group-item-heading">rglwidget</h5>
<h5 class="list-group-item-heading">DiagrammeR</h5>
<p class="list-group-item-text">Diagrams and flowcharts</p>
</a>
<a href="showcase_metricsgraphics.html" class="list-group-item">
<a href="showcase_metricsgraphics.html" class="list-group-item">
<h5 class="list-group-item-heading">MetricsGraphics</h5>
<p class="list-group-item-text">Scatterplots and line charts with D3</p>
</a>
<a href="showcase_timevis.html" class="list-group-item">
<h5 class="list-group-item-heading">timevis</h5>
<p class="list-group-item-text">Interactive timeline visualizations</p>
</a>

</div> <!-- list-group -->

Expand Down
15 changes: 15 additions & 0 deletions showcase_timevis.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "htmlwidgets: timevis"
---

### timevis
<https://daattali.com/shiny/timevis-demo/>

timevis lets you create rich and fully interactive timeline visualizations
based on the [vis.js](http://visjs.org/) Timeline library.

```{r timevis}
library(timevis)
timevis(data = timevisData, groups = timevisDataGroups,
options = list(editable = TRUE))
```