Experimenting with Cursor Composer

December 14, 2024

I have been experimenting with Cursor Composer and build a simple react/d3 app with some features for viewing and analyzing data with multiple visualizations on different pages. I’ve tried to use Cursor as much as possible to generate the code and NOT manually adjust the code. This would not be the way I would build a production app, but it was a fun experiment.

I already had generated an empty react-19 project using Vite. The first prompt that I gave to Cursor Composer was:

add some beautiful charts using d3 with random data that has relations between them , add legends , add filters and ways to manipulate the charts

From there I kept on prompting.

Some things I learned and noticed:

This is the resulting repo: github.com/devhelpr/react-19-dataviz-prototype

The project can be found here on vercel: react-19-dataviz-prototype.vercel.app

I will keep on experimenting with Cursor and see how far I can get with it. I think it’s a great tool to quickly generate code and get a prototype up and running in a very short time. This can be used for experimenting with new technologies and ideas to get new insights, learnings and inspiration. It can also be used for existing projects, I am experimenting with that as well (I already use github co-pilot in a professional setting). Although I think it’s important to keep on reviewing the code and make sure you understand it!! Don’t ever rely on LLMs only!

If you have any questions or feedback, feel free to reach out to me here: maikel@devhelpr.com