Query output as input for a Gantt chart?

I’ve read that echarts (via fenced code plugin) allows rendering Gantt charts.

Would it be possible to have the output of a Live Query (for example, all blocks with a start and end date/time) be used as the input for a Gantt chart?

I’m still trying to learn Logseq so sorry if this question makes no sense!