3 ms·
Slightly off topic, but after discovering Vega[1], I can't quite imagine using a template based charting library again. [1] https://vega.github.io/ https://veg
by asabil 9y ago
Slightly off topic, but after discovering Vega[1], I can't quite imagine using a template based charting library again.
[1] https://vega.github.io/ https://vega.github.io/
- earlyriser 9y agoWow, this is great. Thanks for sharing the link.
- mholmes680 9y agoOh wow, thanks for this! Side note: Anyone know why "calendars" don't qualify as part of these packages? I just have a series of data and want to render it on a calendar-graph instead of some typical data rendering... too abstract?
- lucisferre 9y agoHave you looked at ECharts? https://ecomfe.github.io/echarts-examples/public/index.html#chart-type-calendar https://ecomfe.github.io/echarts-examples/public/index.html#...
- mholmes680 9y agoExactly this, thanks!
- tenken 9y agoThe declarative markup is interesting for custom datasets. But without some sort of UI builder it's unusable by clients.
- capkutay 9y agoHow does this compare to highcharts? Both use a JSON configuration to generate charts. https://www.highcharts.com/ https://www.highcharts.com/
- ConfucianNardin 9y agoHighcharts requires a paid license.
- EGreg 9y agoHow does this compare to nvd3 etc?
- asabil 9y agoVery different, nvd3 and pretty much all charting libraries are built around the idea of charting templates. What Vega (and its simplified cousin Vega-lite) provide is a grammar for describing the mapping between the data space and the visual space. What this essentially means is that you are able to build your own visualisations. If you for instance check this sample[1], and in the JSON editor, inside the "encoding" section you swap x with y, and y with x, then click on the parse button, the chart will be redrawn with the x and y axis flipped. [1] https://vega.github.io/new-editor/?mode=vega-lite&spec=bar_aggregate https://vega.github.io/new-editor/?mode=vega-lite&spec=bar_a...