Skip to content

Instantly share code, notes, and snippets.

@andr3san
andr3san / helloWorld.js
Created Oct 26, 2020
HelloWorld in Looker
View helloWorld.js
looker.plugins.visualizations.add({
create: function(element, config){
element.innerHTML = "<h1>Hello World!!</h1>";
},
updateAsync: function(data, element, config, queryResponse, details, doneRendering){
var html = "";
for(var row of data) {
var cell = row[queryResponse.fields.dimensions[0].name];
html += LookerCharts.Utils.htmlForCell(cell);
}
View keybase.md

Keybase proof

I hereby claim:

  • I am andr3san on github.
  • I am andr3san (https://keybase.io/andr3san) on keybase.
  • I have a public key ASDoI8rEDHSFw9RYF9-NlixjqfDOKPFQEmzXd5akL0Ta5Ao

To claim this, I am signing this object: