2024 Week 23 | Power BI: SVG Venn Diagram

Introduction

Power BI does not offer a Venn Diagram option as a core visual.  This is not surprising given there are not many uses for this kind of visualisation.  However, most people can read and understand the meaning of a Venn Diagram when they see one. 

Venn Diagrams is they are useful to display overlaps and differences between a small number of categories – otherwise they get quickly get busy and difficult to extract useful meaning.

More information on Venn diagrams.  https://en.wikipedia.org/wiki/Venn_diagram

Requirements

  1. 1.      Obtain the rubix data from github

    2.      Create a two category Venn diagram using SVG code to show the following

    a.      A circle to show how many people have a ranking in the 222 event only

    b.      A circle to show how many people have a ranking in the 333 event only

    c.      A shape to show the intersection of people with a ranking in both the 222 and 333 events.

    3.      Only data from the ‘Ranking’ table is required

    4.      Add a slicer to for country

    Bonus task

    1.      Using data from the same ranking table, create a 3-part diagram with three overlapping circles that represent the following

    a.      A circle to show how many people have a ranking in the 222 event

    b.      A circle to show how many people have a ranking in the 333 event

    c.      A circle to show how many people have a ranking in the 444 event

    d.      All relevant intersecting segments

    2.      Allow user to configure x, y & r settings for all three circles in the SVG code and render all circles and intersecting segments to the correct proportion and location

 

Dataset

This weeks dataset is available via Github

Share

After you finish your workout, share on Twitter using the hashtags #WOW2024 and #PowerBI, and tag @MMarie, @shan_gsd, @KerryKolosko, @PhilSeamark. Also make sure to fill out the Submission Tracker so that we can count you as a participant this week in order to track our participation throughout the year.

Solution

Scroll to Top