<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Fred McArthur on Medium]]></title>
        <description><![CDATA[Stories by Fred McArthur on Medium]]></description>
        <link>https://medium.com/@fred_mc?source=rss-a57aa0b4b0e4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Fred McArthur on Medium</title>
            <link>https://medium.com/@fred_mc?source=rss-a57aa0b4b0e4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 14:27:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fred_mc/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Step-by-Step Rotating Radar Charts in Power BI]]></title>
            <link>https://medium.com/empirisys/step-by-step-rotating-radar-charts-in-power-bi-df9014139e58?source=rss-a57aa0b4b0e4------2</link>
            <guid isPermaLink="false">https://medium.com/p/df9014139e58</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[radar-charts]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[angles]]></category>
            <category><![CDATA[visualization]]></category>
            <dc:creator><![CDATA[Fred McArthur]]></dc:creator>
            <pubDate>Thu, 14 Apr 2022 14:35:51 GMT</pubDate>
            <atom:updated>2022-04-14T14:35:51.999Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://empirisys.io/">Empirisys</a> had a request from a client to build a very specific visualisation feature in PowerBI: a radar chart that can rotate. Our client wanted to visualise their data in quadrants, so wanted the ability to rotate a radar chart to a different starting angle. An example of this can be seen in the images below. This feature isn’t available on other radar charts so this step-by-step guide will show you how we built a <em>Rotating Radar Chart.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t2xRjSiUYLTABAJJYE-40Q.png" /><figcaption><em>Left: Radar Chart rotated by 45°, Right: Default radar chart rotation.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*X4CTHtvCZ5A2unoY2T3w9Q.png" /><figcaption><em>The Angle Selector Implemented in PowerBI</em></figcaption></figure><p>In our previous experience building custom data visualisations, we have worked mainly with the <a href="http://d3js.org/">D3.js</a> library. D3 is compatible with PowerBI and has a rich feature set we could build from, so we used it to build this new visualisation, too. <a href="https://www.linkedin.com/pulse/building-brilliant-data-viz-google-datastudio-empirisys/?trackingId=7Jad0FVTqBGQd4QbgsZ4Xg%3D%3D">Check out our blog looking at creating brilliant data visualizations on Google Data Studio.</a></p><p><strong>Step 1: Environment</strong></p><p>The first step we took to create a radar chart was getting the environment set up for building the visualisation. Firstly, this needed <a href="http://nodejs.org/">node.js</a>. Once node.js is installed, you can install the <strong><em>pbiviz tool. </em></strong>Instructions on how to set this tool up can be found in <a href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/environment-setup?tabs=windows">Microsoft’s Documentation</a>, which talks through the environment setup, as well as installing the required dependencies.</p><p><strong>Step 2: Set Up</strong></p><p>Once we had the environment set up, it was time to start building the visualisation. For this stage of the process, we used <a href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/develop-circle-card#:~:text=Create%20a%20new%20page%20for%20testing%2C%20by%20clicking,when%20the%20custom%20visual%20debugging%20setting%20is%20enabled.">this</a> document, which talks through the process of setting up a circle card visualisation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/276/1*viig4aKPD6Hj7svcOdIUGQ.png" /><figcaption>Changes in the settings.ts are reflected in this section of the PowerBI User Interface.</figcaption></figure><p><strong>Step 3: Code</strong></p><p>With this set up, we could see our circle card visual in our PowerBI Workspace. To start making changes, the main files that we edited were <strong>settings.ts</strong>, <strong>visual.ts</strong>, and <strong>capabilities.ts</strong>. Each of these files allowed us to change elements of the visualization.</p><ul><li><strong>Settings.ts</strong> allows you to modify the formatting panel of the PowerBI Visual, giving additional customisation options.</li><li><strong>Visual.ts</strong> is the main file for the visualization, and has two main functions: a constructor, which is run when the visualization is created, and an update function, which runs every time the data or formatting options change. It is therefore important that any changes that you expect to happen when the data or formatting options change are implemented in the update function, and not the constructor.</li><li><strong>Capabilities.ts</strong> contains instructions on how the data will be imported to the PowerBI visual. This file has some strict formatting instructions, so we found it best to use <a href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/capabilities">this</a> resource to ensure our formatting was correct for PowerBI.</li></ul><p>With this in mind, we wrote our code. We started with the <strong>capabilities.ts</strong> file, setting our data properties that the visual should use. We then setup a test dataset to build the visualization with some data. Then, we moved on to the <strong>settings.ts</strong> file to implement the style functionality of the visualization, followed by the <strong>visual.ts</strong> file to implement the visual. For most elements, we would create them in the constructor with no properties set, and update them by changing their properties in the update function.</p><p><strong>Step 4: Package</strong></p><p>With our visual completed, it was time to package it to a .pbviz file. <a href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/package-visual">This</a> tutorial by Microsoft gives some good direction on how to do this. And with this finished, the file is ready to be imported to PowerBI.</p><p><strong>Step 5: Publish</strong></p><p>With the .pbviz file packaged, it can be distributed and imported to PowerBI. This can be done by clicking the three dots in the visualisation section, and then clicking Import Visual from file. Select the .pbviz file that you have created, and click open.</p><p>Below is a screenshot of our visual, to see what we created, along with an example of the angle changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*Wflc6CAdSTDzlqHzxoW0Kw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AjO7FOi4BauPPm45LOopfA.png" /><figcaption>Angles changed</figcaption></figure><p>And with that finished, our client was able to visualise their data at any degree they liked.</p><p><em>If you found this useful, please let us know by getting in touch, give us a clap or a follow. You can find more about us at </em><a href="http://empirisys.io/"><em>empirisys.io</em></a><em> or on Twitter at </em><a href="https://twitter.com/empirisys"><em>@empirisys</em></a><em> or on </em><a href="https://www.linkedin.com/company/empirisys/"><em>LinkedIn</em></a><em>. And you can drop us an e-mail at </em><a href="/service/mailto:%20info@empirisys.io"><em>info@empirisys.io</em></a><em>, or directly to the author of this article, </em><a href="/service/mailto:fred@empirisys.io"><em>fred@empirisys.io</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df9014139e58" width="1" height="1" alt=""><hr><p><a href="https://medium.com/empirisys/step-by-step-rotating-radar-charts-in-power-bi-df9014139e58">Step-by-Step Rotating Radar Charts in Power BI</a> was originally published in <a href="https://medium.com/empirisys">Empirisys</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>