This function creates an HTML widget to display matrix, data.frame and factor array, using the JavaScript library ECharts3.
1  | saveREcharts(chart, file, size = NULL, delay = 2)
 | 
chart | 
 a recharts object  | 
file | 
 file name for saving  | 
size | 
 htmlwidgets size for recharts  | 
delay | 
 Time to wait before taking screenshot, in seconds. Sometimes a longer delay is needed for all assets to display properly.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.