It’s that time of four-year once again, when (a lot of) the globe goes nuts over a lot of individuals running around kicking a sphere!

Preferably, I would certainly have uploaded this write-up a week or 2 back, however, well, I had a great deal of actual job to do. Boo hoo. With any luck I can obtain this in under the cord for those of you that have actually put things off in arranging your workplace swimming pools.

At least, there is a lot of intriguing technology associated with this quadrennial’s offering. Beginning with the information.

Update: you can currently check out the most up to date variation of the brace in your web browser. I have actually conserved the Visio data to OneDrive for Business/SharePoint, which permits you to check out a read-only variation of the Visio data. And also right here is the on-line variation of the Excel data.

Update: make sure to have a look at the Journal area at the end of this write-up. It consists of concepts and also notes of tests and also adversities for this task. Also if you’re not right into soccer/football, the tale of the data-linking experience must be intriguing and also instructional.

Internet API Information Resource

There are 32 groups and also 64 matches, taking place in 12 arena throughout Russia. That’s a great deal of relocating items to keep an eye on. And also there’s the all-natural yearning to in some way connect the visuals to information that updates instantly.

So I went off to look for some type of internet solution. There are great deals of possible leads, however commonly they are

  1. No more around
  2. Also made complex
  3. Not complimentary

I lastly came across a JSON data at GitHub that Martin Ã…rhof developed and also intends to preserve. Some web links:

The information framework is fantastic, it has these 5 almosts all, which is sufficient information:

  • arenas (arenas?)
  • tvchannels
  • groups
  • teams
  • ko

Obviously, my supreme objective was to connect this information right into Visio. In year’s past, I have actually utilized VBA to link to an internet solution, however I wished to maintain code out of the deliverables this year. Because Visio “doesn’t do web apis” (yet?), I wanted to Excel and also PowerQuery. Considering that Visio can connect to Excel information, we must have the ability to obtain this point to upgrade. With any luck, we will not need to open Excel, after that open Visio, however I’m not 100% certain exactly how this is all mosting likely to exercise, since this writing.

And also relying on your registration condition concerning OneDrive, SharePoint and also all of that mess, you could be able to upload the Visio and also Excel data someplace up in the cloud, and also have the ability to check out a read-only, however upgraded Visio brace. If I can determine a means to share something with the basic populace, I’ll make sure and also include a web link to this write-up!

The Excel Documents

As I claimed, I really did not intend to code the data-gathering right into Visio, so I headed to Excel, viewed a couple of YouTube video clips, and also reacquanted myself with the PowerQuery functions of Excel. The initial step was to affix to the data, which you can do by following this course:

  • Information tab
  • Obtain & Transform Information team
  • From Documents > From JSON

I will not enter into the information of what you do after that, however Excel had no difficulty assessing the JSON data and also recognizing its framework. From there, it depended on me to massage therapy that framework and also persuade it right into developing some beneficial tables.

As an instance, I had the ability to develop a “GroupMatches” tab and also table in Excel that has 15 columns of information. In PowerQuery, the actions to arrive appear like this:

After much fiddling and also information pushing, I wound up with an Excel data that had these tabs:

  • Groups
  • Teams
  • Arena
  • GroupMatches
  • KnockoutMatches
  • TvChannels

Incidentally, “Channel” just has one “L” at the end. I simply invested 5 mins dealing with that EVERYWHERE.

This Excel data is rather beneficial per se, specifically if Martin has the ability to upgrade it throughout the competition. So right here is a web link to simply the Excel data if you believe you can place it to great usage, or are simply interested regarding exactly how the PowerQuery things functions when connecting to a JSON data:

Download And Install “World Cup 2018 Excel from JSON File” s!Aj0wJuswNyXlhHNyLUGestaRXGtn– Downloaded 320 times– 103 B.

The Visio Documents

The Visio data includes 3 web pages: Swimming pool, Team Phase, Ko Stage. The forms on each web page are connected to outside information that originates from the Excel data over, which originates from the JSON data on Github. The forms additionally have a lot of ShapeSheet reasoning that enable simple setting up of the representations, and also for allowing forms share particular little bits of information in between them.

Swimming Pool

A brand-new attribute this year is the Swimming pool web page. On this web page, every one of the taking part groups are provided, and also each group has an “owner” name provided in blue. You can undergo the checklist and also key in the name of your close friend or colleague that has actually picked that group, or has actually been unwillingly appointed that group:

After That, on the Team Phase and also Ko Stage web pages, the proprietor’s name will certainly comply with along, to make sure that you can see that’s succeeding, and also that’s not.

If you’re a ShapeSheet Geek, this functions such as this:

  1. There are 32 User.OwnerXX rows in the File’s ShapeSheet
    ( Faster Way to File ShapeSheet: [Shift] + [Right-click] Program ShapeSheet)
  2. Each of those cells describes the message of among the Swimming pool’s “owner” forms.
  3. The suit forms on the Team Phase and also Ko Stage web pages after that describe those File ShapeSheet cells to obtain the proprietor of each group’s name.
  4. The File ShapeSheet additionally includes a User-defined ShapeSheet Feature that enables (see: User.fOwnerFromID)

Team Phase

The Team Phase web page has some intriguing functions. Initially, each team is a Listing form. Checklist forms make it less complicated to arrange participant, due to the fact that you can drag things up or down in the checklist, or simply utilize the arrowhead tricks. After I included the suit forms per team checklist, I after that by hand (however quickly) arranged the video games according to day (and also the suit ID, which I consisted of as pale, white message).

Each Checklist container is really connected to information from the Teams table. This this is done so that the Victor and also Jogger up flags will at some point turn up.

Prior to any type of suits are played, each suit is grey, there are no ratings, and also no showed champions. Below’s team B:

As soon as a suit is full, the information must establish the IsMatchFinished flag to Real, and also go into some ratings. After that, the victor’s rating and also proprietor’s name will certainly be highlighted in eco-friendly, the loser in red. If there’s a connection, after that the shades will certainly simply be grey.

Once the team phase is ended up, the victor and also runner-up will certainly be established from the information. I have actually devised right here, and also we can see that Phil is doing rather well with Iran:

Each suit is stood for by a solitary form. That makes it simple to connect to the suit information kept in the JSON solution. For the Team Phase, each suit is a row in the team checklist. You can choose private suits, and also check out the form’s Forming Information:

If you have Visio Criterion, you can also upgrade ball games making use of Forming Information, because the conventional version of Visio does not have the information connecting capacities. The only trouble with hand-operated updates is that a great deal of the representation runs of ids as opposed to names. So you would certainly need to go into group ids (which are 1– 32) in the knockout stage web page to obtain the outcomes to upgrade. The group ids are quickly acquired from the Swimming pool web page, however still, this isn’t one of the most enjoyable means to run.

You can quickly re-order the suits in a team checklist. Simply drag a row up or down. Or choose a form and also press the Up or Down arrowhead secret. As an instance, Phil has actually set up every one of Iran’s suits on top of the team. We can see 3 eco-friendly circles (outscoring challengers 55:4), means to go Phil!

Considering that the JSON information collection consisted of latitude and also longitude for every arena, I have actually constructed web links to Google maps right into each suit form. Simply right-click and also select Web link: Arena on Google Maps, after that you can take an online stroll around the arena!

In situation you’re asking yourself exactly how the flags were developed …

Initially, I set up a lot of pictures from some website, and also provided proper names. After that, I discharged up LinqPAD and also created some C# code to construct the pictures right into a solitary strip. That file can be imported right into Visio, after that controlled by means of the ShapeSheet to reveal simply one framework.

The finished photo is revealed right here in little and also huge circumstances:

The strategy for revealing simply one framework of an “image strip” form is explained in the write-up: Visio Movie Strip Shapes: Hurray for Hollywood!.

Considering that the information resource is mainly standing for groups and also teams and also suits making use of mathematical ids, I needed to develop a lot of listings making use of VBA or C# or Excel to make sure that numbers can be transformed to names within the ShapeSheet.

At the end of the Excel data, you’ll see a tab with some amusing looking access:

These listings were obstructed right into the ShapeSheet, to make sure that my forms can do points like appearance up group names from group ids, or reveal the proper group flag from simply a solitary id. Considering that the group names were provided alphabetically, the group ids show up in a strange-looking order. If you have an interest in Visio’s ShapeSheet, make sure to accustom on your own with the LOOKUP and also INDEX features.

Ko Stage

The Ko Stage web page shows a regular brace tree. The preliminary 16 groups match team champions versus team runners-up. This component of the competition is single-elimination, and also the champions proceed in the direction of the center of the web page:

If the information upgrading isn’t benefiting you, you can still utilize Forming Information to make it function, however once again you’ll need to tinker group ids. You’ll additionally need to make sure to establish IsMatchFinished to Real, and also established the MatchWinner to the id of the group that won. There are additionally areas for HomePenalty and also AwayPenalty along with HomeResult and also AwayResult for establishing the objectives racked up, because ko suits should have a victor, which results in penalty-kick shootouts. However there’s no ShapeSheet reasoning for identifying champions based upon racking up. Neither exists any type of ShapeSheet reasoning for feeding the champions of suits to the next-round suit. I have actually done this in the past, however I prevented it this time around, wishing the information would certainly take care of that.

Below I have actually substitute Phil’s wonderful keep up Iran, as they damage Uruguay, and also go on to satisfy the Socceroos in the Quarter finals:

The knockout-round forms are conceptually extremely comparable to those of the team phase. Undoubtedly, I began with a team row form, and also rubbed it with the ShapeSheet up until it functioned. These forms are additionally connected to a various table in the Excel data: KnockoutMatches.

Make indisputable, putting together a paper such as this is still not a very easy point to do. There is still a great deal of ShapeSheet craft associated with developing the suit forms, in addition to in connecting the group proprietor names from the Swimming pool web page to every one of the suit forms. The flag forms need structure picture strip forms that can respond to group ids, together with a lot of lookup listings. I utilized VBA macros and also LinqPAD C# code bits to assist in structure solutions, creating listings, and also upgrading points after I would certainly made errors.


There are still a couple of unknowns concerning this download, however if every little thing works out, it ought to be rather cool (other than that the U.S.A. isn’t in the competition, boo hoo once again!) So as I press the “publish” switch, points that I’m thinking about or stress over consist of:

  • I wish that the JSON data does without a doubt obtain upgraded as the competition advances.
  • I wish that Visio can in some way inform Excel to upgrade itself, to make sure that you do not require to initial upgrade Excel, after that open Visio and also upgrade the representation.
  • I wish that your regional duplicate of the Excel data is instantly spotted by the regional Visio data, which the “data source can’t be found” as a result of a hard-coded course (on my device!)
  • I wish that I can release the representation online someplace, with the connected information, such that everybody that can access can see it.
  • I wish that I can do the exact same with the Excel data, to make sure that completion outcome is a read-only website with upgraded Visio graphics, the outcome of in between 0 and also 3 computer mouse clicks.
  • If you’re still on Visio 2010, you run out good luck. I constructed this in Visio 2016, and also I do not have time to make a VSD variation (specifically because I will possibly make updates to the data)
  • Your enhancement of Visio might not sustain information connecting (Visio Criterion)
  • Hands-on modifying of outcomes might be such a discomfort, it will not deserve it.

As I obtain even more details concerning these problems, I will certainly upgrade the write-up. If you run into any type of quirkiness, please allow me understand in the remarks listed below, or bath me with appreciation (if you should) too!



After 2 suits played, the information resource IS being upgraded, hooray! I ran some examinations to see exactly how my things was upgrading, or otherwise:

  • I opened up the Visio data and also discovered that the information resource was void. That’s due to the fact that I relocated all the data to a brand-new directory site. Visio as well silly to search in the exact same directory site as the VSDX data.
  • I altered the course for all the information resources in the Visio data to mirror the brand-new course, I was after that able to freshen. Absolutely nothing altered.
  • I opened up the Excel data that is connected to the JSON data (world-cup-query. xlsx.)
  • On the Information tab, I clicked Refresh All. Lo and also witness, the information upgraded!
  • Went Back To Visio and also struck Information > External Information > Refresh All. Boom, the representation updated!Russia and also Uruguay overcame in their opening matches!

So the procedure is simple, however not super-convenient. Nonetheless, it is still way far better than composing code to obtain this done. I made a decision to attempt a pair extra points:

  • Conserve the Visio data and also Excel submit as much as a OneDrive for service folder.
  • Establish the Excel data to freshen every 60 mins.
  • Establish the Visio data to instantly present the Refresh dialog on Documents > Open.
  • You can really check out that data in your web browser with this web link. I did encounter issues with web browsers being visited to OneDrive with various accounts, so possibly replicate the web link to a various web browser if you have difficulties.So we’re close. You can download and install the Visio data, enter your workplace swimming pool names, after that conserve Visio and also the Excel data to a SharePoint place. You’ll need to reroute the Visio information resources to the cloud-stored Excel data. After that, if there is some magic means to obtain the Excel data to upgrade from the JSON, you’ll have a website that updates instantly! Or else, somebody will certainly need to upgrade Excel, and also possibly Visio– however I believe Visio will certainly upgrade from the Excel data without anyone needing to open up the VSDX data.

I such as the font style that the occasion is making use of, it has a Russian flare and also looks stylish. I had the ability to discover the TTF data online, and also downloaded it. The on-line variation of the Visio data currently utilizes it:

Looks amazing, does not it? Usually I would certainly upload a web link, however the “free font” world is rather dodgy. If you desire the font style, it seems called Dusha. Attempt browsing f for “Download FIFA 2018 Font Typeface – Dusha Font TTF”, and also take care what you click! Remarkably, after 10 mins, that font style isn’t revealing when you check out the data in a web browser. Perhaps it never ever will? No matter, if you set up the data, after that download and install the Visio data from the web browser, that variation of the data will certainly have the amazing font style.

Back to the information:

  • I have actually waited a hr to see if Excel would amazingly upgrade the information. It hasn’t, so I have actually opened up the (cloud) data and also clicked refresh, after that conserved. Currently I will certainly wait a while to see if the on-line Visio data updates without me really opening it.
  • I complied with the web link to the on-line Visio representation on my iPad. I see that there is a Refresh Information switch at the top-right which is grayed out. Perhaps just individuals with accessibility or the appropriate kind of OneDrive accounts are permitted to create the refresh to occur. The situation coincides in Chrome and also Opera, where I am not visited to Microsoft solutions. I presume I’ll need to freshen both Excel, after that Visio daily!
  • Ok, I opened up the on-line Visio data, clicked Refresh, after that conserved.
  • Refresh of the Visio web page on the iPad right away reveals the modifications!


  • Whatever is running efficiently thus far. The small complaints that I have are:.
    • I need to initial upgrade Excel (which is connected to the JSON data) and also wait.
    • After That I need to by hand upgrade the Visio illustration and also conserve that.
    • Both are conserved to OneDrive for Company, and also the web link to the on-line Visio representation after that shows the most up to date outcomes. It would certainly behave to have one or no upgrade actions, nevertheless.
  • I have actually had the concept of attempting this in Power BI for every one of this. Visio can be installed as an aesthetic in Power BI, however I’m unsure if simply any type of visualization will correctly upgrade or otherwise. I presume that Power BI will certainly bring the most up to date JSON instantly, however I am not 100% certain there either.


  • As team play begins to complete, the Teams table in the information is can be found in to play. Below we can see that the team listings are without a doubt upgrading to reveal the victor and also runner-up on the left and also appropriate sides of the checklist heading.Congratulations to Spain and also Portugal!


  • The team phase is all ended up and also it’s time for the knockout-phase to begin. The information has actually upgraded exceptionally from the JSON, and also the Ko Stage web page has actually begun obtaining brand-new information, and also is additionally upgrading:
  • I have actually been specifically upgrading the on-line Visio representation, because everyone can see it. Fascinating to keep in mind: when I conserved the data today, with the Ko Stage web page proving, that ends up being the default sight when site visitors comply with the web link. Makes good sense, however great to understand!
  • I try out PowerBI a couple of days back, however fruitless. You need to set up within PowerBI the areas you intend to envision in Visio, and also you select– from within PowerBI– whether tags and also worths must look like message, or whether worths must be stood for by shade. The expensive data-linking that I have actually performed in Visio isn’t utilized in PowerBI. Drag.
  • I believe there might be a means to connect to SharePoint information resources, after that have the Visio representation upgrade instantly from them. That leaves these issues to fix:.
    • Obtaining information in SharePoint to upgrade from an exterior JSON data (there should be a means to do that!)
    • Permitting individuals not in the SharePoint company to see these updates.


  • The knockout-phase video games offered a number of connections the other day, which indicates penalty shot (shootouts) made a decision the suit results. The forms take care of the additional information simply great. The second circles hold the penalty-kick tallies:


  • Which’s a cover! Congrats France (and also Michel)! And also great task Croatia, it was a hell of a run!


The zip data with both the Visio and also Excel data:

Download And Install “World Cup 2018 Bracket Diagram” s!Aj0wJuswNyXlhHRqYuyE1iu8b5iG– Downloaded 285 times– 103 B.

Simply the JSON-connected Excel data:

Download And Install “World Cup 2018 Excel from JSON File” s!Aj0wJuswNyXlhHNyLUGestaRXGtn– Downloaded 320 times– 103 B.