A few weeks back, I wrote an article about How to Build an AI Agent for Data Analytics Without Writing SQL. The blog demonstrates the capabilities of LLM and AI agents. It is remarkable to observe that LLM comprehends the inquiry with such precision, and with the supplementary schema it has been provided with, it is capable of composing an executable SQL statement that produces the appropriate outcome. Can we expand it to LLM for Data Visualization?
In numerous instances, data analytics extends beyond textual summaries of findings; particularly in Exploratory Data Analysis (EDA), data visualisation is essential. I will broaden the scope of the AI Agent’s capabilities in this blog post. In addition to its ability to generate SQL, I will improve its ability to generate data visualisation code in seaborn and plotly and return the chart as the final output.