Comment

Comment by thingsilearned

re: interactivity

We already have variables and links (which work with variables)[1]. Variables create interactive menus that update urls, queries and charts. If you have a variable `region` and you set it the url will add a get param ?region=<value>

Each chart also has a basic `link:` property can use to link to the existing or other urls with the variables set. For example

type: bar x: revenue y: region link: '?region={{ region }}'

The result is a big range of flexibility, for example [2] here's an example of Conways Game of Life inside of dbt Charts.

[1] variables example - https://play.dbtcharts.com/?example=variables%2Fall-input-ty.... [2] Conways game of life - https://play.dbtcharts.com/?example=variables%2Fgame-of-life...

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton