Skip to content

Instantly share code, notes, and snippets.

{
"$schema": "https://vega.github.io/schema/vega-lite/v3.json",
"width": 600,
"height": 400,
"data": {
"url": "https://api.tinybird.co/v0/sql?q=SELECT%20period%2C%20sum(total_revenues)%20as%20revenues%20FROM%20endpoint%20GROUP%20BY%20period%20FORMAT%20CSVWithNames&token=p.eyJ1IjogImM3NjkwNTQzLThjZTAtNDE2OC04NmQwLTNhMjgwNDE1NzdmOSIsICJpZCI6ICIxY2FhZTExYS05NWU5LTRiN2YtOThhZi1lZjhiY2ViZDE4ZDMifQ.ZM-S6tpGCcdUr_srDfRuSMB8raHeuW8E-NGoeWLL2dc&pipeline=orders_currency",
"format": {
"type": "csv",
"parse": {
"revenues": "number"
{
"$schema": "https://vega.github.io/schema/vega-lite/v3.json",
"width": 600,
"height": 400,
"data": {
"url": "https://api.tinybird.co/v0/sql?q=SELECT%20ts%2C%20rows%20FROM%20rt_ingestion%20%0Awhere%20rows%20is%20not%20null%0Aand%20ts%20%3E%20now()%20-%20INTERVAL%201%20day%20FORMAT%20CSVWithNames&token=p.eyJ1IjogImM3NjkwNTQzLThjZTAtNDE2OC04NmQwLTNhMjgwNDE1NzdmOSIsICJpZCI6ICIxY2FhZTExYS05NWU5LTRiN2YtOThhZi1lZjhiY2ViZDE4ZDMifQ.ZM-S6tpGCcdUr_srDfRuSMB8raHeuW8E-NGoeWLL2dc&pipeline=monitoring_ingestion",
"format": {
"type": "csv",
"parse": {
"rows": "number"