<?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: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3103335#M6971</link>
    <description>&lt;P&gt;Hi, here is the&lt;STRONG&gt; &lt;A href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fdrive%2Ffolders%2F1g-SDpseCG_PD2OYuUmzvSPHYg53MG7hp%3Fusp%3Dsharing&amp;amp;data=05%7C01%7C%7C42bacee68f8c466c70a208db1975cd79%7Ca8f2ac6f681f4361b51fc85d86014a17%7C0%7C0%7C638131765966954262%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=OjOawCdbzG2NoEwslEcN%2Bi3nYgxYqrshpmDwLvYsL%2Bc%3D&amp;amp;reserved=0" target="_self"&gt;Link&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you for trying to help me,&lt;/P&gt;&lt;P&gt;Srđan&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 10:30:07 GMT</pubDate>
    <dc:creator>sdrljaca</dc:creator>
    <dc:date>2023-02-28T10:30:07Z</dc:date>
    <item>
      <title>Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3099369#M6951</link>
      <description>&lt;P&gt;Hi, I am learning &lt;STRONG&gt;Deneb&lt;/STRONG&gt; and &lt;STRONG&gt;Vega-Ligt&lt;/STRONG&gt; and I love it.&lt;/P&gt;&lt;P&gt;But bubbles are overlaping and I can not &lt;STRONG&gt;make bubbles Packing&lt;/STRONG&gt; (as it is called in Charticulator).&amp;nbsp;How?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 15:14:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3099369#M6951</guid>
      <dc:creator>sdrljaca</dc:creator>
      <dc:date>2023-03-03T15:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3100002#M6954</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="408611" data-lia-user-login="sdrljaca" class="lia-mention lia-mention-user"&gt;sdrljaca&lt;/a&gt;,&amp;nbsp;could you provide a sanitized .pbix (&lt;A href="https://community.powerbi.com/t5/forums/searchpage/tab/message?q=deneb&amp;amp;advanced=true&amp;amp;sort_by=-topicPostDate&amp;amp;collapse_discussion=true&amp;amp;search_type=thread&amp;amp;search_page_size=50" target="_self"&gt;here's how&lt;/A&gt;)? I'd be happy to take a look.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2023 16:39:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3100002#M6954</guid>
      <dc:creator>giammariam</dc:creator>
      <dc:date>2023-02-26T16:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3100981#M6964</link>
      <description>&lt;P&gt;Hi, yes of course,&amp;nbsp;but how?&lt;BR /&gt;It says "The file type (.pbix) is not supported", that is why I am uploading print screen.&lt;/P&gt;&lt;P&gt;I want these bubbles not to be on top of each other, but to be distrubuted&amp;nbsp; within belonging quadrat (same I achieved in Charticulator with "Packing" distribution).&lt;img /&gt;and this would be some dummy data&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 05:41:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3100981#M6964</guid>
      <dc:creator>sdrljaca</dc:creator>
      <dc:date>2023-02-28T05:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3101399#M6967</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="408611" data-lia-user-login="sdrljaca" class="lia-mention lia-mention-user"&gt;sdrljaca&lt;/a&gt;&amp;nbsp;thanks for the additional info. I see that I mistakenly inserted the wrong link in my response above. &lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_self"&gt;This post explains how to do this&lt;/A&gt;. Essentially though you could use cloud storage such as google drive, onedrive, dropbox, or github, and then share the link here.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 12:28:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3101399#M6967</guid>
      <dc:creator>giammariam</dc:creator>
      <dc:date>2023-02-27T12:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3103335#M6971</link>
      <description>&lt;P&gt;Hi, here is the&lt;STRONG&gt; &lt;A href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fdrive%2Ffolders%2F1g-SDpseCG_PD2OYuUmzvSPHYg53MG7hp%3Fusp%3Dsharing&amp;amp;data=05%7C01%7C%7C42bacee68f8c466c70a208db1975cd79%7Ca8f2ac6f681f4361b51fc85d86014a17%7C0%7C0%7C638131765966954262%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=OjOawCdbzG2NoEwslEcN%2Bi3nYgxYqrshpmDwLvYsL%2Bc%3D&amp;amp;reserved=0" target="_self"&gt;Link&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you for trying to help me,&lt;/P&gt;&lt;P&gt;Srđan&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 10:30:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3103335#M6971</guid>
      <dc:creator>sdrljaca</dc:creator>
      <dc:date>2023-02-28T10:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3105843#M6980</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="408611" data-lia-user-login="sdrljaca" class="lia-mention lia-mention-user"&gt;sdrljaca&lt;/a&gt;. So I've spent a ton of time on this because it is an interesting problem to try and solve. I've tried various approaches. Here's a couple notes.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The &lt;A href="https://vega.github.io/vega/docs/transforms/pack/" target="_self"&gt;pack transform&lt;/A&gt; is only available in Vega, not Vega-Lite.&lt;/LI&gt;&lt;LI&gt;In Vega&lt;UL&gt;&lt;LI&gt;I first &lt;A href="https://vega.github.io/vega/docs/marks/#faceting" target="_self"&gt;faceted&lt;/A&gt; the dataset and set the row encoding to &lt;EM&gt;Site&lt;/EM&gt; and the column encoding to&amp;nbsp;&lt;EM&gt;Start-Up Year&lt;/EM&gt;. I was able to recreate the original chart with this method, with the intent of applying the pack transform on each facet. I then performed data transforms to create the parent-child hierarchy necessary for the pack transform by fabricating a root node for each facet. This is where things started to break down. I couldn't figure out a way to perform the circle pack transform for each of these hierarchies, I could only perform it on a single dataset.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;In Vega-Lite, I performed the same steps and looked into the steps involved in various circle packing algorithms with the crazy notion of trying to calculate the individual pack layouts through multiple transforms. Unfortunately, due to the recursive nature required for determining a given pack layout, vega/vega-lite transforms were just not set up for this.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I very well could be wrong, but ultimately it appears to me that the circle packing layout for each combination of &lt;EM&gt;Site&amp;nbsp;&lt;/EM&gt;and &lt;EM&gt;Start-Up Year&lt;/EM&gt;&amp;nbsp;would need to be computed outside of Vega/Vega-Lite using a circle packing algorithm. If you have access to query the source data via SQL, this could possibly be done with recursive CTEs. The resulting layout would then need to be loaded into Deneb as the source dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, this absolutely all could be done by building a &lt;A href="https://powerbi.microsoft.com/en-us/developers/custom-visualization/" target="_self"&gt;Power BI Custom Visual&lt;/A&gt; using &lt;A href="https://d3-graph-gallery.com/graph/circularpacking_basic.html" target="_self"&gt;d3.js&lt;/A&gt;, but that would require quite a significant L.O.E.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not 100% convinced that this is impossible through faceting in Vega, but I was unable to figure it out. I'm going to tag some of the Deneb experts here to see if any of them have any thoughts.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="397" data-lia-user-login="dm-p" class="lia-mention lia-mention-user"&gt;dm-p&lt;/a&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273222" data-lia-user-login="KerKol" class="lia-mention lia-mention-user"&gt;KerKol&lt;/a&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="https://github.com/Giammaria/PublicFiles/tree/master/pbi/pbi_community_help/packed_circles_in_table" target="_self"&gt;Here are some files&lt;/A&gt; to get going if anybody out there has the bandwidth to look at this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 12:37:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3105843#M6980</guid>
      <dc:creator>giammariam</dc:creator>
      <dc:date>2023-03-01T12:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3109783#M6989</link>
      <description>&lt;P&gt;I might have a template for that... let me dig it up&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 08:16:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3109783#M6989</guid>
      <dc:creator>KerKol</dc:creator>
      <dc:date>2023-03-03T08:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3109792#M6990</link>
      <description>&lt;P&gt;also tagging&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="198497" data-lia-user-login="avatorl" class="lia-mention lia-mention-user"&gt;avatorl&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 08:18:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3109792#M6990</guid>
      <dc:creator>KerKol</dc:creator>
      <dc:date>2023-03-03T08:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3109821#M6991</link>
      <description>&lt;P&gt;Something like this?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/PBI-David/Deneb-Showcase/tree/main/S%26P%20Beeswarm%20Chart" target="_blank"&gt;Deneb-Showcase/S&amp;amp;P Beeswarm Chart at main · PBI-David/Deneb-Showcase · GitHub&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or this?&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"$schema": "&lt;A href="https://vega.github.io/schema/vega/v5.json" target="_blank"&gt;https://vega.github.io/schema/vega/v5.json&lt;/A&gt;",&lt;BR /&gt;"usermeta": {&lt;BR /&gt;"deneb": {&lt;BR /&gt;"build": "1.4.0.0",&lt;BR /&gt;"metaVersion": 1,&lt;BR /&gt;"provider": "vega",&lt;BR /&gt;"providerVersion": "5.22.1"&lt;BR /&gt;},&lt;BR /&gt;"interactivity": {&lt;BR /&gt;"tooltip": true,&lt;BR /&gt;"contextMenu": true,&lt;BR /&gt;"selection": false,&lt;BR /&gt;"highlight": true,&lt;BR /&gt;"dataPointLimit": 50&lt;BR /&gt;},&lt;BR /&gt;"information": {&lt;BR /&gt;"name": "Kerry Kolosko Bubble Swarm",&lt;BR /&gt;"description": "[No Description Provided]",&lt;BR /&gt;"author": "Kerry Kolosko",&lt;BR /&gt;"uuid": "e363f508-0281-4f62-a1a3-115169706015",&lt;BR /&gt;"generated": "2023-03-03T08:30:42.639Z"&lt;BR /&gt;},&lt;BR /&gt;"dataset": [&lt;BR /&gt;{&lt;BR /&gt;"key": "__0__",&lt;BR /&gt;"name": "X",&lt;BR /&gt;"description": "",&lt;BR /&gt;"type": "numeric",&lt;BR /&gt;"kind": "column"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"key": "__1__",&lt;BR /&gt;"name": "ColourCategory",&lt;BR /&gt;"description": "",&lt;BR /&gt;"type": "text",&lt;BR /&gt;"kind": "column"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"key": "__2__",&lt;BR /&gt;"name": "Labels",&lt;BR /&gt;"description": "",&lt;BR /&gt;"type": "text",&lt;BR /&gt;"kind": "column"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"key": "__3__",&lt;BR /&gt;"name": "Y",&lt;BR /&gt;"description": "",&lt;BR /&gt;"type": "numeric",&lt;BR /&gt;"kind": "measure"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"key": "__4__",&lt;BR /&gt;"name": "BubbleSize",&lt;BR /&gt;"description": "",&lt;BR /&gt;"type": "numeric",&lt;BR /&gt;"kind": "measure"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;"config": {&lt;BR /&gt;"autosize": {&lt;BR /&gt;"contains": "padding",&lt;BR /&gt;"type": "fit"&lt;BR /&gt;},&lt;BR /&gt;"view": {"stroke": "transparent"},&lt;BR /&gt;"font": "Segoe UI",&lt;BR /&gt;"arc": {},&lt;BR /&gt;"area": {&lt;BR /&gt;"line": true,&lt;BR /&gt;"opacity": 0.6&lt;BR /&gt;},&lt;BR /&gt;"bar": {},&lt;BR /&gt;"line": {&lt;BR /&gt;"strokeWidth": 3,&lt;BR /&gt;"strokeCap": "round",&lt;BR /&gt;"strokeJoin": "round"&lt;BR /&gt;},&lt;BR /&gt;"path": {},&lt;BR /&gt;"point": {&lt;BR /&gt;"filled": true,&lt;BR /&gt;"size": 75&lt;BR /&gt;},&lt;BR /&gt;"rect": {},&lt;BR /&gt;"shape": {},&lt;BR /&gt;"symbol": {&lt;BR /&gt;"strokeWidth": 1.5,&lt;BR /&gt;"size": 50&lt;BR /&gt;},&lt;BR /&gt;"text": {&lt;BR /&gt;"font": "Segoe UI",&lt;BR /&gt;"fontSize": 12,&lt;BR /&gt;"fill": "#605E5C"&lt;BR /&gt;},&lt;BR /&gt;"axis": {&lt;BR /&gt;"ticks": false,&lt;BR /&gt;"grid": false,&lt;BR /&gt;"domain": false,&lt;BR /&gt;"labelColor": "transparent",&lt;BR /&gt;"labelFontSize": 12,&lt;BR /&gt;"titleFont": "wf_standard-font, helvetica, arial, sans-serif",&lt;BR /&gt;"titleColor": "#252423",&lt;BR /&gt;"titleFontSize": 16,&lt;BR /&gt;"titleFontWeight": "normal"&lt;BR /&gt;},&lt;BR /&gt;"axisQuantitative": {&lt;BR /&gt;"tickCount": 3,&lt;BR /&gt;"grid": true,&lt;BR /&gt;"gridColor": "#C8C6C4",&lt;BR /&gt;"gridDash": [1, 5],&lt;BR /&gt;"labelFlush": false&lt;BR /&gt;},&lt;BR /&gt;"axisX": {"labelPadding": 5},&lt;BR /&gt;"axisY": {"labelPadding": 10},&lt;BR /&gt;"header": {&lt;BR /&gt;"titleFont": "wf_standard-font, helvetica, arial, sans-serif",&lt;BR /&gt;"titleFontSize": 16,&lt;BR /&gt;"titleColor": "#252423",&lt;BR /&gt;"labelFont": "Segoe UI",&lt;BR /&gt;"labelFontSize": 13.333333333333332,&lt;BR /&gt;"labelColor": "#605E5C"&lt;BR /&gt;},&lt;BR /&gt;"legend": {&lt;BR /&gt;"titleFont": "Segoe UI",&lt;BR /&gt;"titleFontWeight": "bold",&lt;BR /&gt;"titleColor": "#605E5C",&lt;BR /&gt;"labelFont": "Segoe UI",&lt;BR /&gt;"labelFontSize": 13.333333333333332,&lt;BR /&gt;"labelColor": "#605E5C",&lt;BR /&gt;"symbolType": "circle",&lt;BR /&gt;"symbolSize": 75&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"data": [{"name": "dataset"}],&lt;BR /&gt;"signals": [&lt;BR /&gt;{&lt;BR /&gt;"name": "cx",&lt;BR /&gt;"update": "width / 2"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "cy",&lt;BR /&gt;"update": "height / 2"&lt;BR /&gt;},&lt;BR /&gt;{"name": "radius", "value": 8},&lt;BR /&gt;{"name": "collide", "value": 0.1},&lt;BR /&gt;{"name": "gravityX", "value": 0.2},&lt;BR /&gt;{"name": "gravityY", "value": 0.2},&lt;BR /&gt;{"name": "static", "value": true}&lt;BR /&gt;],&lt;BR /&gt;"scales": [&lt;BR /&gt;{&lt;BR /&gt;"name": "xscale",&lt;BR /&gt;"type": "linear",&lt;BR /&gt;"domainMin": -100,&lt;BR /&gt;"domainMax": 140,&lt;BR /&gt;"domain": {&lt;BR /&gt;"data": "dataset",&lt;BR /&gt;"field": "__3__",&lt;BR /&gt;"sort": true&lt;BR /&gt;},&lt;BR /&gt;"range": "width"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "yscale",&lt;BR /&gt;"type": "linear",&lt;BR /&gt;"range": "height",&lt;BR /&gt;"nice": true,&lt;BR /&gt;"domain": {&lt;BR /&gt;"data": "dataset",&lt;BR /&gt;"field": "__0__",&lt;BR /&gt;"sort": false&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "color",&lt;BR /&gt;"type": "ordinal",&lt;BR /&gt;"domain": {&lt;BR /&gt;"data": "dataset",&lt;BR /&gt;"field": "__1__"&lt;BR /&gt;},&lt;BR /&gt;"range": {"scheme": "category20c"}&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"name": "ballsize",&lt;BR /&gt;"domain": {&lt;BR /&gt;"data": "dataset",&lt;BR /&gt;"field": "__4__"&lt;BR /&gt;},&lt;BR /&gt;"range": [0, 50000]&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"axes": [&lt;BR /&gt;{&lt;BR /&gt;"orient": "bottom",&lt;BR /&gt;"scale": "xscale"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"orient": "left",&lt;BR /&gt;"scale": "yscale",&lt;BR /&gt;"tickCount": 5,&lt;BR /&gt;"zindex": 1&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"marks": [&lt;BR /&gt;{&lt;BR /&gt;"name": "nodes",&lt;BR /&gt;"type": "symbol",&lt;BR /&gt;"from": {"data": "dataset"},&lt;BR /&gt;"encode": {&lt;BR /&gt;"enter": {&lt;BR /&gt;"fill": {&lt;BR /&gt;"scale": "color",&lt;BR /&gt;"field": "__1__"&lt;BR /&gt;},&lt;BR /&gt;"xfocus": {&lt;BR /&gt;"scale": "xscale",&lt;BR /&gt;"field": "__3__",&lt;BR /&gt;"band": 0.5&lt;BR /&gt;},&lt;BR /&gt;"yfocus": {&lt;BR /&gt;"scale": "yscale",&lt;BR /&gt;"field": "__0__",&lt;BR /&gt;"band": 0.5&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"update": {&lt;BR /&gt;"size": {&lt;BR /&gt;"scale": "ballsize",&lt;BR /&gt;"field": "__4__"&lt;BR /&gt;},&lt;BR /&gt;"stroke": {"value": "white"},&lt;BR /&gt;"strokeWidth": {"value": 1},&lt;BR /&gt;"zindex": {"value": 0},&lt;BR /&gt;"tooltip": {"signal": "datum"}&lt;BR /&gt;},&lt;BR /&gt;"hover": {&lt;BR /&gt;"stroke": {"value": "purple"},&lt;BR /&gt;"strokeWidth": {"value": 3},&lt;BR /&gt;"zindex": {"value": 1}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"transform": [&lt;BR /&gt;{&lt;BR /&gt;"type": "force",&lt;BR /&gt;"iterations": 100,&lt;BR /&gt;"forces": [&lt;BR /&gt;{&lt;BR /&gt;"force": "collide",&lt;BR /&gt;"iterations": {&lt;BR /&gt;"signal": "collide"&lt;BR /&gt;},&lt;BR /&gt;"radius": {&lt;BR /&gt;"expr": "sqrt(datum.size)/ 2"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"force": "x",&lt;BR /&gt;"x": "xfocus",&lt;BR /&gt;"strength": {&lt;BR /&gt;"signal": "gravityX"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"force": "y",&lt;BR /&gt;"y": "yfocus",&lt;BR /&gt;"strength": {&lt;BR /&gt;"signal": "gravityY"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"type": "text",&lt;BR /&gt;"from": {"data": "nodes"},&lt;BR /&gt;"encode": {&lt;BR /&gt;"enter": {&lt;BR /&gt;"align": {"value": "center"},&lt;BR /&gt;"baseline": {&lt;BR /&gt;"value": "middle"&lt;BR /&gt;},&lt;BR /&gt;"fontSize": {&lt;BR /&gt;"scale": "ballsize",&lt;BR /&gt;"field": "__4__"&lt;BR /&gt;},&lt;BR /&gt;"fontWeight": {&lt;BR /&gt;"value": "bold"&lt;BR /&gt;},&lt;BR /&gt;"fill": {"value": "black"},&lt;BR /&gt;"text": {&lt;BR /&gt;"field": "datum['__2__']"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;"update": {&lt;BR /&gt;"x": {"field": "x"},&lt;BR /&gt;"y": {"field": "y"}&lt;BR /&gt;},&lt;BR /&gt;"transform": [&lt;BR /&gt;{&lt;BR /&gt;"type": "label",&lt;BR /&gt;"avoidMarks": ["nodes"],&lt;BR /&gt;"anchor": [&lt;BR /&gt;"top",&lt;BR /&gt;"bottom",&lt;BR /&gt;"right",&lt;BR /&gt;"left"&lt;BR /&gt;],&lt;BR /&gt;"offset": [1],&lt;BR /&gt;"size": {&lt;BR /&gt;"signal": "[width + 60, height]"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 08:31:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3109821#M6991</guid>
      <dc:creator>KerKol</dc:creator>
      <dc:date>2023-03-03T08:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3109961#M6992</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273222" data-lia-user-login="KerKol" class="lia-mention lia-mention-user"&gt;KerKol&lt;/a&gt;&amp;nbsp;thanks for tagging&lt;BR /&gt;&lt;BR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="408611" data-lia-user-login="sdrljaca" class="lia-mention lia-mention-user"&gt;sdrljaca&lt;/a&gt;&amp;nbsp;, do you means somethig like this?&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;I can't help you with Vega-Lite solution (I never really worked with Vega-Lite), but it's easy to implement using Vega and "force" type of transformation.&lt;BR /&gt;&lt;BR /&gt;See official Vega example:&amp;nbsp;&lt;A href="https://vega.github.io/vega/examples/packed-bubble-chart/" target="_self"&gt;https://vega.github.io/vega/examples/packed-bubble-chart/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, my floral carttogram is a more advanced example of a packed bubble chart. See&amp;nbsp;&lt;A href="https://powerofbi.org/2023/02/18/floral-cartogram-how-do-we-govern-our-world/" target="_blank"&gt;https://powerofbi.org/2023/02/18/floral-cartogram-how-do-we-govern-our-world/&lt;/A&gt;&amp;nbsp;for more details (and source code).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Each flower has been placed inside of an invisible bubble with "force" transformation applied to make sure the bubbles (and the flowers) are not overlapping.&lt;BR /&gt;&lt;BR /&gt;It's also possible to increase distance between bubbles or to allow partial overlapping.&lt;BR /&gt;&lt;BR /&gt;If you'll decide to use Vega instead of Vega-Lite, feel free to contact me with any questions..&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 09:56:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3109961#M6992</guid>
      <dc:creator>avatorl</dc:creator>
      <dc:date>2023-03-03T09:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110243#M6994</link>
      <description>&lt;P&gt;To avoid overlapping bubbles in Deneb and Vega-Lite, you can use the "point" mark and set the "size" encoding to a fixed value or a calculated value based on your data. Additionally, you can set the "opacity" encoding to a lower value to make overlapping bubbles more transparent and distinguishable.&lt;/P&gt;&lt;P&gt;Here is an example of how to set up a basic bubble chart in Vega-Lite:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"mark": "point",&lt;BR /&gt;"encoding": {&lt;BR /&gt;"x": {"field": "x_value", "type": "quantitative"},&lt;BR /&gt;"y": {"field": "y_value", "type": "quantitative"},&lt;BR /&gt;"size": {"field": "size_value", "type": "quantitative"},&lt;BR /&gt;"opacity": {"value": 0.7}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;You can adjust the "size" encoding to suit your needs, and you can also add other encodings like color or shape to further distinguish between bubbles.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 12:29:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110243#M6994</guid>
      <dc:creator>Adamboer</dc:creator>
      <dc:date>2023-03-03T12:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110300#M6995</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521924" data-lia-user-login="Adamboer" class="lia-mention lia-mention-user"&gt;Adamboer&lt;/a&gt;&amp;nbsp; or should I call you ChatGPT?&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 12:51:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110300#M6995</guid>
      <dc:creator>avatorl</dc:creator>
      <dc:date>2023-03-03T12:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110345#M6996</link>
      <description>&lt;P&gt;Hi, this is beautiful work and much more than I requested.It will take a lot of time that I understand it and simplify for my use case.&lt;BR /&gt;Can you could help me to simplified it? I would be very thankful.&lt;BR /&gt;BR, Srđan&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 13:24:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110345#M6996</guid>
      <dc:creator>sdrljaca</dc:creator>
      <dc:date>2023-03-03T13:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110385#M6997</link>
      <description>&lt;P&gt;I was so in the weeds looking into circle packing that I completely forgot about the force transform 🤦🏻‍&lt;span class="lia-unicode-emoji" title=":male_sign:"&gt;♂️&lt;/span&gt;. That should definitely work in the matrix format that you have.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Since they brought it up, I'll defer to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273222" data-lia-user-login="KerKol" class="lia-mention lia-mention-user"&gt;KerKol&lt;/a&gt;, or&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="198497" data-lia-user-login="avatorl" class="lia-mention lia-mention-user"&gt;avatorl&lt;/a&gt;&amp;nbsp;so one of them can get credit for the solution. I may just see if I can get it implemented on my own just for practice.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 13:41:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110385#M6997</guid>
      <dc:creator>giammariam</dc:creator>
      <dc:date>2023-03-03T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110728#M6998</link>
      <description>&lt;P&gt;Hi, thank you as well.&lt;/P&gt;&lt;P&gt;In your "packed-bubble-chart" example it is only missing X and Y axis and tickBand that is "extent". We are really close.&lt;/P&gt;&lt;P&gt;BR, Srdjan&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 15:33:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3110728#M6998</guid>
      <dc:creator>sdrljaca</dc:creator>
      <dc:date>2023-03-03T15:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Deneb: Packing instead of Overlapping Bubbles in Scatter Plot</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3113406#M7010</link>
      <description>&lt;P&gt;That's your wish whatever you may call me, I don't have any issue in that.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 09:32:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Deneb-Packing-instead-of-Overlapping-Bubbles-in-Scatter-Plot/m-p/3113406#M7010</guid>
      <dc:creator>Adamboer</dc:creator>
      <dc:date>2023-03-06T09:32:08Z</dc:date>
    </item>
  </channel>
</rss>

