Description Usage Arguments Value Examples
Function to create a d3-based horizontal circle plot
1 |
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. |
r2d3 htmlwidget
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())}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.