Vibe Coding + Scrollytelling = 😍


Hi Reader,

I’ve always loved making data visualizations. Partly because they look cool. But mostly because they make data and insights easy for anyone to understand.

The problem? Coding up a visualization - or even better, an interactive, self-explanatory data story you can share - takes a ton of time.

Recently, I had a lightbulb moment: What if I tried AI coding agents to build scrollytelling visualization apps? 🤔

If you’re not familiar with the term, scrollytelling is a web design technique that uses scroll-triggered animations, transitions, and interactions to turn a dataset into an immersive story. You’ve probably seen examples in places like the New York Times, The Pudding, or Bloomberg.

So I gave it a shot. I used Cursor to build a scrollytelling piece on AI’s environmental footprint, using d3.js (a powerful JavaScript data visualization package).

Let’s just say… the first attempts were a mess. Lots of trial and error, and nothing remotely usable at first.

After wrestling with it for a while, here’s what I learned:

  • Coding agents don’t understand storytelling: If you just throw them a bunch of data files, and pray for magic 🪄. You have to provide the insights and structure.
  • They might “hallucinate” data: Sometimes they even modify your files. Be crystal clear that the data is read-only.
  • Detailed instructions are everything: The more explicit you are about tools, frameworks, story flow, and acceptance criteria, the better the results. I used ChatGPT to help me crafted a pretty detailed "build brief" for Cursor, which works pretty well.

So here's my battle-tested workflow for using AI coding agents to build scrollytelling apps (visual created with Claude Artifacts):

The first output will almost never be perfect. In my case, it took 5 - 10 more prompt iterations (Step 5 in my workflow) before I had something I felt good about.

I've seen some people got really enthusiastic about the potential of this use case, and what this can mean for their businesses:

And I just made a new video walking you through the whole experiment:

video preview

Let me know if you find this helpful!

Wishing you a great week ahead,

Thu 🤗


✨ P.S.: Work with me

If you want to learn how to code, build AI applications from the ground up, and actually understand what’s happening under the hood - I’ve built a program that guides you through all the fundamentals of Python, Machine Learning, and AI.

You’ll join a community of 350+ learners learning to build AI projects, supporting each other, and getting direct access to me along the way.

Wishing you a wonderful week,

Thu 🤗


Thu Vu

Say hi 🙌 on Youtube, LinkedIn, or Medium

Check out my older posts Here

Thu Vu

Join 6,000+ data professionals who are advancing their careers by learning from real-world projects, gaining first-hand experience, and accessing top resources delivered to your inbox every week.

Read more from Thu Vu

Hello Reader, In 2016, I graduated with my master's degree. At the time, I only knew a bit of coding in R from working on my thesis. Yet even that modest skill was my major selling point I'd make sure to mention in every job interview! Fast forward to 2026: LLMs can now generate working Python code in seconds. It makes that situation from 10 years ago feel almost ancient. Honestly, it's a little embarassing how I felt like GOD knowing just some basic programming back then 🤣. AI is reshaping...

Hello Reader, How's 2026 started for you so far? Over the past year, I’ve seen a lot of people fall into the vibe-coding trap. I get it. You skip the fundamentals and jump straight into building things with AI. The problem is, AI tools generate 80% of a project really fast. It feels amazing. But then something breaks. Progress slows. You hit a wall. And that last 20% turns out to require way more understanding than you expected. You end up with impressive-looking code you can't fully explain,...

Hi Reader, Just popping into your inbox to wish you and your loved ones a happy, healthy 2026 💛 You know that feeling where you're convinced you did absolutely nothing all year... then you actually look back and go "wait, I did a bunch of stuff"? I kept telling myself I wasn't accomplishing anything for most of 2025. But when I finally sat down and wrote it out, here's what my year actually looked like: Travelled to Japan Made 14 YouTube videos (including 3 data science + AI tutorials and 2...