3 ms·
Configuration language (DSL) to assemble visualizations
- wcrichton 10y agoDeclarative data visualization is an active area of research, and there's a lot of cool projects in this space. Take a look at Vega-Lite [0] and Voyager [1]. [0] https://vega.github.io/vega-lite/ https://vega.github.io/vega-lite/ [1] https://vega.github.io/voyager/ https://vega.github.io/voyager/
- rodionos 10y agoGreat to see these efforts attacking the "tyranny of charts" by which I mean visualizations created with GUI editors.
- jamessb 10y agoWork on grammars for graphics go back to Leland Wilkinson [1]; Tableau's VizQL and Hadley Wickham's ggplot2 library for R are other notable examples [2]. [1]: https://www.cs.uic.edu/~wilkinson/TheGrammarOfGraphics/GOG.html https://www.cs.uic.edu/~wilkinson/TheGrammarOfGraphics/GOG.h... [2]: http://ggplot2.org/ http://ggplot2.org/
- crawfordcomeaux 10y agoAltair [0] is built on top of Vega-lite and I think both could serve as good sources of inspiration for OP's design. Definitely enjoyed this example page & can't wait to see how it evolves! [0] https://altair-viz.github.io/ https://altair-viz.github.io/
- detaro 10y agoDoesn't work for me, console shows CORS errors. Anybody else see the same?
- rodionos 10y agoDoes https url work for you on the same browser? https://apps.axibase.com/chartlab/2ef08f32 https://apps.axibase.com/chartlab/2ef08f32 We've seen this error on the plain-text url but couldn't pinpoint the exact reason.
- detaro 10y agoYes, that works, and looks quite impressive! EDIT: The issue seems to be the links to css and js for from maxcdn.bootstrapcdn.com. If I change those in the HTTP version to HTTPS urls it works.
- noelwelsh 10y agoI like the general idea, but when I look at this implementation is seems like it lacks basic facilities for abstraction. E.g. naming values. This reminds me of CSS, which similarly suffers from such a lack of abstraction and is slowly gaining such features. Cf Less, Sass, and other CSS preprocessors which provide more facilities for abstraction.