Alright folks, let me tell you about my weekend project, which I’ve affectionately dubbed “darth tuna.” Sounds weird, right? Well, it was a bit of a weird ride getting it to work, but hey, that’s what makes it fun, right?

So, it all started when I wanted to mess around with some data visualization stuff. I’d been reading about some fancy new libraries, and thought, “Why not give it a shot?” First thing I did was grab a dataset. I found one online about global tuna catches. Seemed appropriate given the project name. Downloaded it, and immediately dumped it into a pandas DataFrame in Python. Classic move, I know.
Next up, started cleaning the data. Oh boy, was it messy. Missing values everywhere, weirdly formatted dates, the whole shebang. Spent a solid hour filling in blanks with some reasonable defaults and converting those dates into something Python could actually understand. Frustrating, but you gotta do what you gotta do.
Then came the fun part: visualization. I was aiming for a cool interactive map that showed where the most tuna were being caught over time. Tried out a few different libraries – Plotly, Bokeh, even dabbled with some *. Plotly ended up being the winner, mostly because it was the easiest to get something decent-looking up and running quickly.
Spent a good chunk of Saturday wrestling with Plotly’s API. Getting the map to display correctly, adding tooltips, making the time slider work – it was all a bit of a pain. At one point, I almost rage-quit and just went back to watching Netflix. But I persevered! Finally got a map that looked pretty decent. Showed the tuna catch locations as colored bubbles, and you could slide through the years to see how things changed over time. Felt pretty good about that.
But the story doesn’t end there. Decided I wanted to deploy this thing somewhere. I mean, what’s the point of building something if you can’t show it off, right? Looked into a few options – Heroku, Netlify, AWS. Ended up going with Heroku because I’d used it before and it’s relatively straightforward. Spent a few more hours wrestling with Heroku’s config files and getting all the dependencies installed correctly. Man, deployment is always a bigger hassle than you think it’s going to be.

Finally, late Sunday night, I had a working “darth tuna” visualization up and running on Heroku. Not gonna lie, felt a huge sense of accomplishment. Sure, it’s not perfect. The code’s probably a mess, and there’s definitely room for improvement. But hey, it works! And I learned a ton in the process.
Here’s a quick rundown of what I learned:
- Data cleaning is 80% of any data project. Seriously.
- Plotly is pretty cool for interactive visualizations, but the API can be a bit clunky.
- Heroku is still a decent option for simple deployments, but be prepared for some config headaches.
- And most importantly: Don’t be afraid to dive in and experiment. Even if you feel like you’re in over your head, you’ll probably learn something valuable along the way.
So yeah, that’s the story of “darth tuna.” Hope you found it entertaining, or at least slightly informative. Now, I’m gonna go grab a beer and relax. Until next time!