Once you have saved and shared a view, you can embed that shared GraphXR view on another web page. This lets you share insights into your data with others even if they do not have a GraphXR login. 

You can visit https://www.kineviz.com/sarscov2 for an example of how an embedding can be used.

GraphXR iFrame Embedding is supported for all GraphXR subscriptions.

To embed a GraphXR view in a webpage as an iFrame:

  1. Save a view to server.

  2. Exit the project, and in the Projects page, select the view to be shared.

  3. Copy and paste the url of the shared view into the following iFrame embed code, which you will then insert into the html for the web page of your choice.

<iframe id="iframe-id-graph" src="VIEW URL GOES HERE" height="600px" width = "100%"> 
   let graphXRIframe = document.getElementById("iframe-id-graph");
   graphXRIframe.addEventListener('mouseover', function () {
   window.document.body.style.overflow = 'hidden';
   graphXRIframe.style.overflow = 'auto';
    graphXRIframe.addEventListener('mouseout', function () {
    window.document.body.style.overflow = 'auto';
    graphXRIframe.style.overflow = 'hidden';