We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
Hi everyone,
I'm trying to make R Custom visuals with plotly and have closely followed the guide outlined here from RADACAD. However, when I imported the custom visual to Power BI, it gave me a blank visual and I do not get any error messages:
Blank visual in Power BI using Iris Dataset
Whereas I expect to see this:
Below is the R script I used (the default when downloading sampleRHTMLVisual):
source('./r_files/flatten_HTML.r') ############### Library Declarations ############### libraryRequireInstall("ggplot2"); libraryRequireInstall("plotly") #################################################### ################### Actual code #################### g = qplot(`Petal.Length`, data = iris, fill = `Species`, main = Sys.time()); #################################################### ############# Create and save widget ############### p = ggplotly(g); internalSaveWidget(p, 'out.html'); ####################################################
Has anyone encountered this issue before?