The video on YouTube:
https://www.youtube.com/watch?v=qjreOQtcN7M
The video on TikTok:
https://www.tiktok.com/@cbcnews/video/7586752423897976084
Senior data producer, CBC/Radio-Canada. Behind https://github.com/nshiab/simple-data-analysis and https://www.code-like-a-journalist.com/. More on https://www.naelshiab.com/.
The video on YouTube:
https://www.youtube.com/watch?v=qjreOQtcN7M
The video on TikTok:
https://www.tiktok.com/@cbcnews/video/7586752423897976084
I took a break from coding my usual interactive web #dataviz to try something more cinematic. ๐ฌ
Over the last couple of weeks, Iโve been working on a video dataviz for social media using @Blender #blender3d and I loved the process! I ended up animating over 160,000 individual data points to bring this story to life.
Check out the preview below. Full video links in the comments!
P.S.: I still think Python and R are incredible programming languages with amazing libraries and packages, like pandas and the tidyverse.
The great thing is that you can also use DuckDB with them!
https://duckdb.org/
4/4 ๐งต
Under the hood, the simple-data-analysis library uses the incredibly fast @duckdb and its extensions. If you want to check it out, here's the repo: https://github.com/nshiab/simple-data-analysis
And if you want to make my day, test it and, if you enjoy it, give it a โญ!
3/4 ๐งต
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 ๐งต
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 ๐งต
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!
Here's the link.
https://observablehq.com/@nshiab/math-for-journalists
My most popular interactive @observablehq notebook, Math for Journalists, just got a fresh update! ๐งโ๐
I've added two new sections:
๐ 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.
I found these concepts a bit intimidating when I started out, so I hope this guide helps you feel more confident in your data work! ๐ค
๐ Link in comments
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! ๐
Will you be the 300th person to fall in love with this amazing library? ๐
@kristinHenry Oh, right! Updating.
@human3500 @simon LLMs are just another tool. And like any tool, they excel at some stuff and suck at others.
Last week, we published our interactive project on spatial analogues and climate matches. As usual, I published my detailed methodology on how we wrangled the data. Here's the link, with a shout-out to Arthur Charpentier @freakonometrics who helped me with the statistical approach! ๐งโ๐ซ
๐
https://newsinteractives.cbc.ca/features/2025/climate-matches/methodology/
Here's the link. https://newsinteractives.cbc.ca/features/2025/climate-matches/