Yes, for data analysis. I would mostly use this in the Ask mode to see the chart myself but would also be helpful in Agent.
actually i realized that this is depends on the LLM code interpreter feature.i don’t know if cursor supports using Gemini (or chatgpt’s) code interpreter, though, so this may not work. even VSCode doesn’t do this - so maybe a limitation overall
I use this with gemini (on web) all the time. i paste in some sql results and get a chart (it runs pandas and matplotlib behind the scenes) and can quickly see trends/anomalies.
I’ve heard other people at Uber, where I used to work, try and shoehorn Cursor for this use case. It actually inspired me to build a product for this use case, but in a way that non-technical people can use it, too. Plop in a dataset, it explores the data, and out come well formatted charts with the top insights (much better than Matplotlib). If you sign-up at chartpop.io I’ll be happy to pick you off the waitlist so you can do exactly this. Credits are on me. It’s not even a startup now, so I appreciate any feedback you can share.
I don’t know one off the top of my head for charts but most agents can generate text based formats for doing stuff.
For instance it can D2 or Graphviz source. Then you can use either a plugin or utility to render those Graphviz has a plugin, d2 renders to png or even ascii
You could try SVG output, Sonnet claims to be able to do it and there’s an SVG preview extension in the marketplace