Vega-lite not working

  • 6 September 2019
  • 5 replies
  • 489 views

Hi @chasec,


Thanks for giving groodlooker custom viz a shoutout, it looks like it exactly responds to my needs. Unfortunately, I can’t seem to make it work. By that I mean that I seen vega has a possible viz, when I select it, I see the different options, the screen where the viz is supposed to be remains blank.

Anybody with some knowledge on the subject would have an idea of what might cause that?

There’s only some very concise explanation around it so it’s hard figuring out what the issue comes from.


25



5 replies

Userlevel 7
Badge +1

cc @ryan.grojean a.k.a Groodlooker who might have an idea or two. You should also pop open the Developer console in your browser and see if there’s any js errors that might have clues.

It looks like Vega just released a couple new major versions, I’m surprised to see a Beta version as the default for the Vega Embed dependencies. It wouldn’t surprise me if there are some breaking changes - I will update the github page with the latest dependency versions I tested (you appear to have it set up correctly).


As for documentation, (when it is working) it is basically just a UI to construct x, y, color, etc as shown in the examples on the vega webpage: https://vega.github.io/vega-lite/


I tried to keep the naming conventions similar!


Hope this helps!

Is there a general tutorial on how to use vega/vega-lite in Looker?

I found this thread and a few repos, but can’t find how to properly deploy them on our looker.

Hello @ryan.grojean and the community,

There seems to be an issue in the GitHub README of Vega-LITE the link to the bundle.js file to install vega-lite visualisations is dead. https://github.com/groodlooker/vega-lite

 

Could you please tell me how to circonvent this issue ? Currently, I am trying to create a remote dependency connecting directly as per this photo

 

Unfortunately, I still do not have access to the visualisations within the GUI when I try to create a visualisation. Are there more steps to take in order to benefit from VEGA’s visualisations ?

 

Thanks in advance,

@Nicolas_Gouget 

In Looker, goto Admin => Platform => Visualisations.

Click “Add Visualization”

Name = “vega_lite”  

Label = “vega_lite”

Main = https://grood-lookin.s3.us-east-2.amazonaws.com/bundle.js    

 

Save this and then vega_lite will be available in the visualisation area.  

It’s pretty laggy but very, very powerful. 

 

Reply