3 ms·
To ensure you do not miss this: LiveBook comes with a Vega Lite integration (https://livebook.dev/integrations https://livebook.dev/integrations -> https://liv
by thibaut_barrere 3y ago
To ensure you do not miss this: LiveBook comes with a Vega Lite integration (https://livebook.dev/integrations https://livebook.dev/integrations -> https://livebook.dev/integrations/vega-lite/ https://livebook.dev/integrations/vega-lite/), which means you get access to a lot of visualisations out of the box, should you need that (https://vega.github.io/vega-lite/ https://vega.github.io/vega-lite/).
In the same "standing on giant's shoulders" stance, you can use Explorer (see example LiveBook at https://github.com/elixir-explorer/explorer/blob/main/notebooks/exploring_explorer.livemd https://github.com/elixir-explorer/explorer/blob/main/notebo...), which leverages Polars (https://www.pola.rs https://www.pola.rs), a very fast DataFrame library and now a company (https://www.pola.rs/posts/company-announcement/ https://www.pola.rs/posts/company-announcement/) with 4M$ seed.
- chx 3y agoOh I needed vega-lite badly in my life, thanks so much!
- bongobingo1 3y agoThe vega-lite wrapper is very slim too, basically just converts your slithery_snake keys into humpyCamels and corrals between different data sources, so if the docs on the elixir page seem sparse its because most of the "how do I build a graph like x" is just on the vega docs. You can easily dump it to json to share too, etc.
- thibaut_barrere 3y agoGood note :-) The wrapper can by the way be used outside of LiveBook (e.g. https://twitter.com/thibaut_barrere/status/1688533590965903360 https://twitter.com/thibaut_barrere/status/16885335909659033...) to provide charting in an Elixir app.
- throwawaymaths 3y agoIt's a shame because elixir documentation is gorgeous