03juan
Looking for resources/tutorials to integrate Kino or VegaLite into any LiveView
Are there any readily-available resources or could you point me to specific code that I can use as a base for how to integrate Kino and VegaLite into my own projects?
I want to render live charts on my user’s dashboards in the most Phoenix way possible.
Marked As Solved
LostKobrakai
Kino is explicitly meant to integrate with livebook (“Client-driven interactive widgets for Livebook.”), but :vega_lite should be fine to use in liveview with a bit of glue.
Also Liked
cmo
LiveBook source code would be the best bet.
03juan
I figured as much but was hoping for something with more like a step-by-step tutorial.
I suppose I’ll start with this part of the docs and take it from there Kino.JS.Live — Kino v0.5.2
03juan
True, I’ll start by crawling before trying to run. Thanks!
kartheek
I am a fan of ContEx Charts . Check out if this fits your usecase.
03juan
Unfortunately not for these reasons, but will keep an eye on it.
- It’s early days, so the API is going to change and that might break any code that relies on it.
- Interacting with the graphics (for example, brushing) isn’t possible without a lot of JS. If you need highly interactive graphics, use a JS charting library
I’ll also evaluate the other options listed there, like chartkick-ex
Thanks for the suggestion!







