All Projects → shosaco → vistime

shosaco / vistime

Licence: GPL-3.0 license
Pretty timelines in R.

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to vistime

git-space
A web application to view Github's user profile.
Stars: ✭ 14 (-89.47%)
Mutual labels:  charts
SwiftCharts
Easy to use and highly customizable charts library for iOS
Stars: ✭ 2,405 (+1708.27%)
Mutual labels:  charts
o-fish-web
Web application for the Officer's Fishery Information Sharing Hub (O-FISH). The web app allows agencies to gain insights from the aggregated information gathered during a routine vessel inspection (submitted via the web app).
Stars: ✭ 29 (-78.2%)
Mutual labels:  charts
asciichart
ASCII line charts in terminal ╭┈╯ Haskell port of kroitor/asciichart
Stars: ✭ 23 (-82.71%)
Mutual labels:  charts
ggwaffle
Creating waffle charts in a ggplot friendly way
Stars: ✭ 45 (-66.17%)
Mutual labels:  charts
elementary-plotlib
C/C++ Plotting Library
Stars: ✭ 19 (-85.71%)
Mutual labels:  charts
online-retail-dashboard
Online Retail Dashboard
Stars: ✭ 59 (-55.64%)
Mutual labels:  charts
apexcharts-flow
ApexCharts.js wrapper for the Vaadin Platform
Stars: ✭ 43 (-67.67%)
Mutual labels:  charts
KLineChartAndroid
A kline chart UI widget for android(Android版本的k线).
Stars: ✭ 51 (-61.65%)
Mutual labels:  charts
PandasVersusExcel
Python数据分析入门,数据分析师入门
Stars: ✭ 120 (-9.77%)
Mutual labels:  charts
beapi-bench
Tool for benchmarking apis. Uses ApacheBench(ab) to generate data and gnuplot for graphing. Adding new features almost daily
Stars: ✭ 16 (-87.97%)
Mutual labels:  charts
ipychart
The power of Chart.js with Python
Stars: ✭ 48 (-63.91%)
Mutual labels:  charts
JMeter-Charts
Application used to generate reports by uploading a JTL file to a rest server
Stars: ✭ 19 (-85.71%)
Mutual labels:  charts
decent-visualizer
A visualizer for .shot files
Stars: ✭ 46 (-65.41%)
Mutual labels:  charts
vue3-charts
Vue3-Charts is an SVG-based charting library that is very easy to use and highly customizable
Stars: ✭ 86 (-35.34%)
Mutual labels:  charts
django-admin-charts
Create beautiful configurable charts from your models and display them on the django-admin index page or on django-admin-tools dashboard. The charts are based on models and criterias defined through admin interface and some chart parameters are configurable in live view.
Stars: ✭ 78 (-41.35%)
Mutual labels:  charts
RealmAndCharts-example
Simple example of how to use RealmSwift and Charts together - iOS 10 & Swift 3
Stars: ✭ 20 (-84.96%)
Mutual labels:  charts
slope
C/Gtk+ data visualization library.
Stars: ✭ 91 (-31.58%)
Mutual labels:  charts
chart-testing-action
A GitHub Action to lint and test Helm charts
Stars: ✭ 139 (+4.51%)
Mutual labels:  charts
nettemp
Interface for controlling the temperature sensors DS18B20, supports; serial DS9097, usb DS9097U, usb DS2490, Raspberry Pi GPIO
Stars: ✭ 53 (-60.15%)
Mutual labels:  charts

vistime - Pretty Timelines in R

Buy Me A Coffee CRAN R build status Downloads per month Downloads per week Downloads per day codecov Github Stars

A library for creating time-based charts, like Gantt or timelines. Possible outputs include ggplots, plotly graphs, Highcharts or data.frames. Results can be used in the RStudio viewer pane, in R Markdown documents or in Shiny apps. In the interactive outputs created by vistime() and hc_vistime() you can interact with the plot using mouse hover or zoom. Timelines and their components can afterwards be manipulated using ggplot::theme(), plotly_build() or hc_*functions (for gg_vistime(), vistime() or hc_vistime(), respectively). When choosing the data.frame output, you can use your own plotting engine for visualizing the graph.

If you find vistime useful, please consider supporting its development: Buy Me A Coffee

Feedback welcome: [email protected]

Table of Contents

  1. Installation
  2. Main functionality
  3. Real-life example
  4. Usage and documentation

1. Installation

To install the package from CRAN, type the following in your R console:

install.packages("vistime")

2. Main functionality

This package vistime provides four main functions, the first three allow you to draw a timeline with Plotly, Highcharts or ggplot2, the last one outputs the pure optimized data frame ready for plotting.

vistime() - interactive Plotly charts

timeline_data <- data.frame(event = c("Event 1", "Event 2"),
                            start = c("2020-06-06", "2020-10-01"), 
                            end   = c("2020-10-01", "2020-12-31"),
                            group = "My Events")
                            
vistime(timeline_data)

hc_vistime() - interactive Highcharts timelines

timeline_data <- data.frame(event = c("Event 1", "Event 2"),
                            start = c("2020-06-06", "2020-10-01"), 
                            end   = c("2020-10-01", "2020-12-31"),
                            group = "My Events")
                            
hc_vistime(timeline_data)

This is facilitated by the highcharter package, so, this package needs to be installed before attempting to produce any hc_vistime() output.

gg_vistime() - static ggplot2 output

timeline_data <- data.frame(event = c("Event 1", "Event 2"),
                            start = c("2020-06-06", "2020-10-01"), 
                            end   = c("2020-10-01", "2020-12-31"),
                            group = "My Events")
                            
gg_vistime(timeline_data)

vistime_data() - pure data.frame output if you want to draw yourself

timeline_data <- data.frame(event = c("Event 1", "Event 2"),
                            start = c("2020-06-06", "2020-10-01"), 
                            end   = c("2020-10-01", "2020-12-31"),
                            group = "My Events")
                            
vistime_data(timeline_data)

#>     event      start        end     group                                      tooltip      col subplot   y
#> 1 Event 1 2020-06-06 2020-10-01 My Events  from <b>2020-06-06</b> to <b>2020-10-01</b>  #8DD3C7       1   1
#> 2 Event 2 2020-10-01 2020-12-31 My Events  from <b>2020-10-01</b> to <b>2020-12-31</b>  #FFFFB3       1   1

You want to use this for the intelligent y-axis assignment depending on overlapping of events (this can be disabled with optimize_y = FALSE).

3. Real-life example

During COVID-19 2020, @wlhamilton used gg_vistime() for visualizing patient ward movements as timelines in order to investigate possible hospital acquired infections. See his github for the code.

4. Usage and documentation

There is a vignette for each of the three functions of the package where they are explained in detail:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].