<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problems Creating Custom Visual using Plotly with Iris Dataset in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Problems-Creating-Custom-Visual-using-Plotly-with-Iris-Dataset/m-p/748775#M2378</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to make R Custom visuals with plotly and have closely followed the guide outlined&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://radacad.com/interactive-map-using-r-and-power-bi-create-custom-visual-part-1" target="_blank" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;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:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper lia-message-image-actions-narrow lia-message-image-actions-below"&gt;&lt;IMG src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/178477iE05E07DBF7C9BFE3/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Plotly Problems.PNG" title="Plotly Problems.PNG" /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-caption"&gt;Blank visual in Power BI using Iris Dataset&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Whereas I expect to see this:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper lia-message-image-actions-narrow lia-message-image-actions-below"&gt;&lt;IMG src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/178479i042FEFE75A2197E3/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Iris Dataset.PNG" title="Iris Dataset.PNG" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the R script I used (the default when downloading sampleRHTMLVisual):&lt;/P&gt;&lt;PRE&gt;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');
####################################################&lt;/PRE&gt;&lt;P&gt;Has anyone encountered this issue before?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2019 08:13:13 GMT</pubDate>
    <dc:creator>vicente-iii</dc:creator>
    <dc:date>2019-07-25T08:13:13Z</dc:date>
    <item>
      <title>Problems Creating Custom Visual using Plotly with Iris Dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Problems-Creating-Custom-Visual-using-Plotly-with-Iris-Dataset/m-p/748775#M2378</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to make R Custom visuals with plotly and have closely followed the guide outlined&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://radacad.com/interactive-map-using-r-and-power-bi-create-custom-visual-part-1" target="_blank" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;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:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper lia-message-image-actions-narrow lia-message-image-actions-below"&gt;&lt;IMG src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/178477iE05E07DBF7C9BFE3/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Plotly Problems.PNG" title="Plotly Problems.PNG" /&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-caption"&gt;Blank visual in Power BI using Iris Dataset&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Whereas I expect to see this:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;SPAN class="lia-message-image-wrapper lia-message-image-actions-narrow lia-message-image-actions-below"&gt;&lt;IMG src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/178479i042FEFE75A2197E3/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Iris Dataset.PNG" title="Iris Dataset.PNG" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the R script I used (the default when downloading sampleRHTMLVisual):&lt;/P&gt;&lt;PRE&gt;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');
####################################################&lt;/PRE&gt;&lt;P&gt;Has anyone encountered this issue before?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 08:13:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Problems-Creating-Custom-Visual-using-Plotly-with-Iris-Dataset/m-p/748775#M2378</guid>
      <dc:creator>vicente-iii</dc:creator>
      <dc:date>2019-07-25T08:13:13Z</dc:date>
    </item>
  </channel>
</rss>

