<?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 Re: Create pie chart images for each line of a data table in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718283#M90065</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/36"&gt;@yvesprairie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not too complicated I'd say.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you need is:&lt;/P&gt;
&lt;P&gt;1. Create the Pie Chart (without any filtering)&lt;/P&gt;
&lt;P&gt;2. Create the Geographic Map Chart&lt;/P&gt;
&lt;P&gt;3. Right Click a data point in the Geographic Map Chart and add a Hover Label&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Result is a Map with Labels showing the relative abundance of your variable (species) per location (Sweet benefit is that these Hover Labels are actual Graphs themselves, so you can drill down into a specific location by clicking on it):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_0-1706088519638.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60540i829CA11A8D4825BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_0-1706088519638.png" alt="Florian_Vogt_0-1706088519638.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to do this:&lt;/P&gt;
&lt;P&gt;1. Create Pie Chart in Graph Builder. You might need to stack you data first:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_1-1706088652391.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60541iC734F4938FCE5A7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_1-1706088652391.png" alt="Florian_Vogt_1-1706088652391.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Once you created the Pie Chart, go to the Red Triangle &amp;gt; Save Script &amp;gt; To Clipboard&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_2-1706088703169.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60542i5F4D96D98C831F69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_2-1706088703169.png" alt="Florian_Vogt_2-1706088703169.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Create the Map Graph, right-click a data point and add the Hover Label via 'Hover Label' &amp;gt; 'Paste Graphlet'&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_3-1706088792689.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60543i241C7E64FB65DEB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_3-1706088792689.png" alt="Florian_Vogt_3-1706088792689.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note: 'Paste Graphlet' only appears if you have copied a script to the clipboard before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Florian&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2024 09:33:50 GMT</pubDate>
    <dc:creator>Florian_Vogt</dc:creator>
    <dc:date>2024-01-24T09:33:50Z</dc:date>
    <item>
      <title>Create pie chart images for each line of a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718257#M90063</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a data table with say &amp;nbsp;6 columns, one identifies the sample site, 2 are X and Y coordinates of that site and the last 3 are the relative abundance of say 3 different species at that location. I simply want a map where each site is shown as a pie chart describing the relative abundance of the 3 species. It seems like an easy problem but I can't quite figure out how to do it. I presume I need first to create an image column with the pie chart images in it and then use that column as markers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance, Yves&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 07:08:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718257#M90063</guid>
      <dc:creator>yvesprairie</dc:creator>
      <dc:date>2024-01-24T07:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create pie chart images for each line of a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718283#M90065</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/36"&gt;@yvesprairie&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not too complicated I'd say.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you need is:&lt;/P&gt;
&lt;P&gt;1. Create the Pie Chart (without any filtering)&lt;/P&gt;
&lt;P&gt;2. Create the Geographic Map Chart&lt;/P&gt;
&lt;P&gt;3. Right Click a data point in the Geographic Map Chart and add a Hover Label&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Result is a Map with Labels showing the relative abundance of your variable (species) per location (Sweet benefit is that these Hover Labels are actual Graphs themselves, so you can drill down into a specific location by clicking on it):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_0-1706088519638.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60540i829CA11A8D4825BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_0-1706088519638.png" alt="Florian_Vogt_0-1706088519638.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to do this:&lt;/P&gt;
&lt;P&gt;1. Create Pie Chart in Graph Builder. You might need to stack you data first:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_1-1706088652391.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60541iC734F4938FCE5A7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_1-1706088652391.png" alt="Florian_Vogt_1-1706088652391.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Once you created the Pie Chart, go to the Red Triangle &amp;gt; Save Script &amp;gt; To Clipboard&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_2-1706088703169.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60542i5F4D96D98C831F69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_2-1706088703169.png" alt="Florian_Vogt_2-1706088703169.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Create the Map Graph, right-click a data point and add the Hover Label via 'Hover Label' &amp;gt; 'Paste Graphlet'&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_3-1706088792689.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60543i241C7E64FB65DEB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_3-1706088792689.png" alt="Florian_Vogt_3-1706088792689.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note: 'Paste Graphlet' only appears if you have copied a script to the clipboard before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Florian&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 09:33:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718283#M90065</guid>
      <dc:creator>Florian_Vogt</dc:creator>
      <dc:date>2024-01-24T09:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create pie chart images for each line of a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718285#M90067</link>
      <description>&lt;P&gt;Fantastic, thank you very much Florian. How difficult would it be to now have the "pies" as markers instead of having them popup when one hovers over a point? This would be nice to produce a static map with all the information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again, Yves&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 10:24:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718285#M90067</guid>
      <dc:creator>yvesprairie</dc:creator>
      <dc:date>2024-01-24T10:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create pie chart images for each line of a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718291#M90069</link>
      <description>&lt;P&gt;Even that is possible,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/36"&gt;@yvesprairie&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steps you can achieve this are:&lt;/P&gt;
&lt;P&gt;1. Create a Column of Graphs&lt;/P&gt;
&lt;P&gt;2. Create the Graph&lt;/P&gt;
&lt;P&gt;3. Select the Graph Column as the Symbols&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a way:&lt;/P&gt;
&lt;P&gt;1. You can make a Graph into a Data Table. Here, I created the Pie Chart and used the Wrap field to have one per City:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_0-1706093428122.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60544i404A5C21656470EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_0-1706093428122.png" alt="Florian_Vogt_0-1706093428122.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. The Table is just containing the label and the graph in two columns. So you need to join it with your inital table (Table &amp;gt; Join)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_1-1706093487306.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60545iA01E8AEB427C2B76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_1-1706093487306.png" alt="Florian_Vogt_1-1706093487306.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Create the Graph and select the Graph Column as Symbols&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_2-1706093516464.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60546iF993F80468A1D6B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_2-1706093516464.png" alt="Florian_Vogt_2-1706093516464.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Florian_Vogt_3-1706093526079.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60547iD2A8BCE87F3B66E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Florian_Vogt_3-1706093526079.png" alt="Florian_Vogt_3-1706093526079.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In my example here the graphs are a bit small as Icons, so you might need to adjust the graphs size a bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Florian&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 10:53:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718291#M90069</guid>
      <dc:creator>Florian_Vogt</dc:creator>
      <dc:date>2024-01-24T10:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create pie chart images for each line of a data table</title>
      <link>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718292#M90070</link>
      <description>&lt;P&gt;Thank you again Florian. No wonder I love JMP! Yves&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 11:20:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-pie-chart-images-for-each-line-of-a-data-table/m-p/718292#M90070</guid>
      <dc:creator>yvesprairie</dc:creator>
      <dc:date>2024-01-24T11:20:09Z</dc:date>
    </item>
  </channel>
</rss>

