[Docs] Add task-oriented sections to Vega docs #70478
Labels
Feature:Vega
Vega visualizations
Team:Docs
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
I've recently written an entire dashboard of Vega visualizations that imitate the features of existing Kibana visualizations, and found some specific improvements to the Vega docs. In particular, we are missing a "fully-featured" example that supports the following features, and is able to show the same example in both Vega and Vega-lite.
toDate
function to parse dates that are in string formtooltip
encoding such as"tooltip": "{ 'Date': format(datum.key, '%m %d %Y') }"
events
in Vega andselections
in Vega-lite, especially for a line chartI think the best Vega examples we can build are basic bar or line charts that are as close as possible to existing Kibana charts. Having a complete and detailed example of a basic stacked bar chart, with the same code available in Vega and Vega-lite, is the missing documentation that I've been looking for.
I haven't copied+pasted my sample dashboard into this issue yet because I need to do some cleanup, but first I want to see if this goal is one that makes sense
cc @nyurik @KOTungseth
The text was updated successfully, but these errors were encountered: