circleplot: Circle Plot

Description Usage Arguments Value Examples

View source: R/circleplot.R

Description

Function to create a d3-based horizontal circle plot

Usage

1
circleplot(id, states, colors, width = NULL, height = NULL)

Arguments

id

id assigned to the html element

states

data frame of the form (state, count, url).

colors

data frame of the form (state, color). All states will be displayed. Row order determines display order.

width

Desired width for output widget.

height

Desired height for output widget.

Value

r2d3 htmlwidget

Examples

1
2
3
{
 states <- data.frame(state = airflow_task_state_colors()$state, count = 1:8, url = 'www.https://d3js.org/')
 circleplot('af_plot', states, airflow_task_state_colors())}

misha-lisovich/laminar documentation built on May 23, 2019, 9:51 a.m.