Nael Shiab
banner
naelshiab.bsky.social
Nael Shiab
@naelshiab.bsky.social
For geospatial data, it's 3x-5x faster to join and count the trees in each Montreal neighbourhood.

I started working on the library 3 years ago. I was tired of switching between R/Python/JavaScript in my projects and wanted to keep it to TypeScript from A to Z. 🤓

2/4 🧵
November 13, 2025 at 5:55 PM
So happy to see how fast the TypeScript library simple-data-analysis has become for tabular and geospatial data! 🤩

It's now processing data 6x-12x faster than traditional R and Python solutions in my little test in which I crunched a 1.7 GB CSV file.

1/4 🧵
November 13, 2025 at 5:55 PM
Thanks for the mention in your newsletter, @observablehq.com!
September 23, 2025 at 3:30 PM
We have just updated our international trade tracker with the latest numbers from July. See all imports and exports broken down by country, province, and product!

Link below!
September 4, 2025 at 2:27 PM
My most popular interactive @observablehq.com notebook, Math for Journalists, just got a fresh update! 🧑‍🎓

👉 Sample size and confidence: I explain how sample sizes work, like in a survey.
👉 Tests for statistical significance: I break down what "statistically significant" means.

Link in comments! 👇
September 2, 2025 at 2:57 PM
New project is live! We're now tracking all products coming in and out of Canada 🇨🇦. See how international trade is rapidly shifting, with breakdowns by country, province, and product 🚗🥦🛢️.

Link in the comments! 👇
August 20, 2025 at 12:46 PM
Will you be the 300th person to fall in love with this amazing library? 😏
July 9, 2025 at 5:32 PM
I asked Gemini-CLI to fix mistakes and add examples to the documentation of the open-source library journalism. It updated 58 files and did a pretty good job in half an hour. I used the free tier, but the @simonwillison.net LLM pricing calculator estimated the cost at $6 USD! Very impressed. 😶
July 2, 2025 at 6:40 PM
July 2, 2025 at 12:34 AM
New project! I've always felt climate projections were a bit too abstract. To make them more concrete, I identified North American cities that already experience the projected temperature and precipitation of Canadian cities. And the result is... 😳

Link in the comments! 👇

#dataviz #climate
June 26, 2025 at 1:21 PM
Over 100 heat records could be broken today in Ontario and Quebec. 🫠
June 23, 2025 at 12:38 PM
Thank you @datawrapper.de for mentioning our Climate Dashboard! 🤩
June 11, 2025 at 1:27 PM
Terrible air quality in Alberta and Saskatchewan right now. 😷
June 10, 2025 at 5:17 PM
Bad air quality caused by Western wildfires for 54 communities this morning, mainly in Southern Ontario and Quebec. And summer hasn't even started yet... Link to our climate dashboard in the comments.
June 6, 2025 at 12:05 PM
Just updated our Climate Dashboard this morning to add air quality warnings. The smoke from all of those fires out West is being pushed East by the winds. It's pretty bad to breathe in Northern Manitoba and Ontario right now.
June 3, 2025 at 2:31 PM
May 29, 2025 at 1:31 PM
May 29, 2025 at 1:24 PM
The prairies. 🥺
May 28, 2025 at 10:43 PM
Back in March, I attended the fantastic NICAR session "My first LLM classifier" by @palewi.re and @dwillis.bsky.social.

It was eye-opening, but all in Python. And you know I love TypeScript! 🤓 So, I added new features to the SDA library, and Ben kindly let me reproduce his tutorial!

Link below! 👇
May 21, 2025 at 3:00 PM
Thank you, @craigsilverman.bsky.social, for including Code Like a Journalist in your newsletter!

👉 www.code-like-a-journalist.com
May 12, 2025 at 5:19 PM
Got bits of code you keep copy-pasting from project to project? You should turn them into a library!

And guess what? You’re in luck for two reasons:
- It’s never been easier to publish one with @deno.land and @jsr.io 🚀
- I just published a new lesson showing you exactly how to do it 💡

Link below 👇
April 24, 2025 at 1:16 PM
You cracked the data. You uncovered the findings. Now let’s publish your own website for free with GitHub Pages! 🌍📊

Trust me, it’s easier than you think.

Check out the new lesson on Code Like a Journalist 👇
April 22, 2025 at 12:58 PM
I used to set alarms to run my web scrapers manually, every day, on my computer. I didn’t know any better! 🥲

But now I do. Let me show you how to run them on a schedule in the cloud with GitHub Actions, for free. 😏

Link to the new Code Like a Journalist lesson below! 👇
April 17, 2025 at 6:07 PM
Intimidated by GitHub? I’ve been there.

So let’s take a friendly walkthrough together in the new lesson I just published. I’ll show you how to use this amazing platform and avoid pushing your password live. 😅

Link to Code Like a Journalist below! 👇
April 17, 2025 at 12:56 PM
As a journalism grad, I struggled with Git for YEARS. For longer than I’d like to admit, it felt easier to keep my code on Google Drive instead of GitHub. 😅

So I’m kicking off a new section on Code Like a Journalist all about Git and GitHub!

First lesson linked below — with more on the way! 👇
April 15, 2025 at 7:17 PM