3 ms·
Thank looks cool. Do you guys have plan to add interactivity to these charts? Will it be possible to inject JS in these charts?
by iamcreasy 20d ago
Thank looks cool. Do you guys have plan to add interactivity to these charts? Will it be possible to inject JS in these charts?
- thingsilearned 19d agore: 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-types.yml https://play.dbtcharts.com/?example=variables%2Fall-input-ty.... [2] Conways game of life - https://play.dbtcharts.com/?example=variables%2Fgame-of-life.yml https://play.dbtcharts.com/?example=variables%2Fgame-of-life...