observablehq / vega

Convenience methods for using Vega and Vega-Lite in Observable.
https://observablehq.com
42 stars 7 forks source link

Upgrade to vega-lite 3 #12

Closed meetamit closed 6 years ago

meetamit commented 6 years ago

Are you open to upgrading this module's vega-lite to version 3.0? For me specifically, it would be nice to be able to use the newly-added Boxplot mark. However, perhaps it's not time yet, because vega-lite is still versioned as release candidate (-rc6).

domoritz commented 6 years ago

You can already use Vega-Embed. It's a drop in replacement for the observable package and comes with themes, tooltips, and links to the editor and to download the visualization.

Check out https://beta.observablehq.com/@domoritz/hello-vega-embed

meetamit commented 6 years ago

Thanks for the tip @domoritz

I've switched to Vega-Embed, and indeed it continued to work essentially the same as with @observablehq/vega, except that Vega-Embed's actions menu button appeared (by default) after the switch.

domoritz commented 6 years ago

Yeah, you can turn it off if you don't like it but continue to get themes and tooltips.