Eric Leung
erictleung.bsky.social
Eric Leung
@erictleung.bsky.social
marketing data scientist, generalist, math and library enthusiast, data scientist of the third kind, loves good stationary and pens, low tech enthusiast, open source tinkerer, opinions = mine #rstats
politics aside, it's pretty amazing to find high quality data visualizations for free on the Wikipedia page for the recent NYC mayoral election. and using a clever ternary plot to represent the breakdown of votes for three candidates in one color

en.wikipedia.org/wiki/2025_Ne...
November 5, 2025 at 6:37 PM
woah, when did RStudio gain this functionality that when you wait for autocomplete to finish, it'll show you a preview of that data object that it is suggesting in the autocomplete?? #RStats
May 2, 2025 at 4:35 PM
i made a gif of how the cherry blossoms at the brooklyn botanical garden are doing. the past couple of days have been exciting!
April 24, 2025 at 8:16 PM
dang, didn't realize how long it's been since i've updated my conda version. twenty plus versions seems like a lot 😂
April 8, 2025 at 8:40 PM
since moving into more industry data science, i hear terms like "first-party data" etc and have always wondered what each means and maybe how you might use them.

so i did some research and put them on the Wikipedia page for data.

hope it's useful for others

en.wikipedia.org/wiki/Data#Da...
March 5, 2025 at 10:55 PM
interesting talk from just last year laying out some evidence for the claim that Python is the second best language for everything.

and a side note, i really like this quote from the talk: "A programming language is only as useful as the ecosystem surround it."

www.youtube.com/watch?v=OkuG...
January 28, 2025 at 9:55 PM
really cool ggplot2-related package to extend the guides, like annotating the axes with some interpretation or nesting axes categories

teunbrand.github.io/legendry/
January 10, 2025 at 9:29 PM
I love how Wikipedia casually has this great infographic from the list of Christmas films page

en.wikipedia.org/wiki/List_of...
December 29, 2024 at 3:28 PM
going through some of my olds tweets and found this meme i made when i was applying to jobs as a stronger R programmer than a Python programmer. still hilarious
December 17, 2024 at 3:53 AM
just remembered this scales R package function that quickly makes your large dollar amounts into human friendly units, and it takes care of those changing units from say millions to billions #RStats

scales::label_dollar(scale_cut = cut_short_scale()

reference: scales.r-lib.org/reference/la...
November 23, 2024 at 3:39 AM
November 13, 2024 at 3:29 PM