Skip to content

Headset/vega-lite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vega-Lite for Looker

Vega is an incredible way to create visualizations, stated in their own words:

Vega is a visualization grammar, a declarative language for creating, saving, and sharing interactive visualization designs. With Vega, you can describe the visual appearance and interactive behavior of a visualization in a JSON format, and generate web-based views using Canvas or SVG.

More complex Vega visuals in Looker: https://github.com/groodlooker/vega

New as of 12/22/18 Added Support for mark type 'boxplot'

New as of 1/14/18 Support for Labels vega-3.js

This Looker version adds a number of ui elements to craft visualizations in Vega-Lite, a higher-level language built on top of Vega:

https://vega.github.io/vega-lite/

Versions:

Beta with sort & label fixes: https://s3.us-east-2.amazonaws.com/grood-lookin/vega-3-1.js

Vega-lite for Looker 1.0 https://s3.us-east-2.amazonaws.com/grood-lookin/vega.js

Vega-lite for Looker 2.0: https://s3.us-east-2.amazonaws.com/grood-lookin/vega-2.js

Vega-lite for Looker 3.0 https://s3.us-east-2.amazonaws.com/grood-lookin/vega-3.js

Dependencies that need to be added to your Looker Custom Viz are hosted here:

https://cdn.jsdelivr.net/npm/[email protected]

https://cdn.jsdelivr.net/npm/[email protected]

https://cdn.jsdelivr.net/npm/[email protected]

All charts you create will maintain their drill paths with additional info about which field is generating the drill link.

A few examples of what you can create with Vega-Lite for Looker:

Labels available in 3.0 Screenshot Label can be pinned to the field value or to zero: Screenshot Apply filters/conditions to labels: Screenshot

New as of 12/22/18 box plot support

Screenshot Screenshot

Multi-layer support availabe in 2.0

Value vs Target charting: Screenshot

Lollipop style charts: Screenshot

Reference Lines that update on selection: Screenshot

Functionality in original vega-lite

Bar trellising: Screenshot

Multi-facet trellising: Screenshot

Bubble Plots: Screenshot

Heatmap: Screenshot

Scatter Plots: Screenshot Screenshot

Highlighting: Screenshot

Vega-Lite enables even richer visualization than this current version of "Vega-Lite for Looker" will allow for. Future iterations of this will include layers or "dual axis" support, cross-highlighting capabilities, more formatting options (line thickness, fonts, etc) and possibly crossfiltering.

About

Vega-Lite for Looker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%