Is the current text-to-sql capable of outputting data analysis charts?
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (Language Policy).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
- [x] Please do not modify this template :) and fill in all the required fields.
Is your feature request related to a problem?
Describe the feature you'd like
Is the current text-to-sql capable of outputting data analysis charts? Does the agent support the output of simple data analysis charts?
Describe implementation you've considered
No response
Documentation, adoption, use case
Additional information
No response
Not supported yet.
@gavinju Great question—thanks for asking!
Just to understand better:
- What’s the business scenario or workflow where you’d like to generate data analysis charts from Text-to-SQL or agents?
- Are you working with structured business data (e.g. sales, users, operations), and aiming to visualize trends or summaries?
Knowing the usage context will help us evaluate how to best support chart output in the product. Looking forward to your input!
@ZhenhangTung The method I am currently using is to have the LLM output HTML code segments, modify the front-end source code, load those with the classname "language-html" into an iframe for display. The ECharts JS files are placed in the public folder. In fact, if a code segment preview function is added, it can be implemented very conveniently.
@ooodwbooo Got it. I think we could gradually support this kind of capability as we enhance the Deep Research feature set within the Agent module. I'll keep it in mind during the design phase.