Alex Wein is a user on You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Alex Wein

Alex Wein boosted

Just discovered a secret @lisacrost Tumblr filled with an insane amount of sin/cos artwork ๐Ÿ’ฏ

Grateful today and every day for ISO 8601

Clever and maybe useful barchart text function:

sparkbar(c(1:5, 1:5, 6:10, 9:1))
[1] "โ–โ–‚โ–‚โ–ƒโ–„โ–โ–‚โ–‚โ–ƒโ–„โ–…โ–…โ–†โ–‡โ–ˆโ–‡โ–†โ–…โ–…โ–„โ–ƒโ–‚โ–‚โ–"

I've been listening *Make My Bed* by King Princess a ton over the last two weeks.

I'm still really new in my job, and gave a big presentation today on my vision for what I'm doing. I feel *very* clever for coming up with this kale analogy:

I admit a bit of aversion to non-interactive animation as a dataviz solution, but when the tools are as easy to use at gganimate, I'm sure I'll figure out some good uses.

Thomas Lin Pederson gave a keynote at UseR yesterday (big annual R conference, I'm not there) on the grammar of animation (via his new and improved gganimate package) and the slides are worth a look

And I gotta say, this was even easier to do with ggplot than anticipated. To go from the Line Chart on top to the Gutter Chart on the bottom was primarily one line of code.

It's not a perfect fit for data and chart type (it's very close to just a chart of y=x), and when and how to show nothing is a big and tricky problem. (And obviously the default axis labels aren't gonna cut it). Still, I'm excited about the idea (which is probably not completely novel).

One of my first hoots was a recommendation to read Understanding Comics. Here's a direct effort to use the grammar of comics in data viz, using gutters to omit the parts where nothing happens.

My current problem: I'm building automated weekly report, showing the same metric over time. I want to show the trend, but I want to emphasize the most recent data point. With a typical 'time on x-axis' line chart, the rightmost value is not where your attention goes. Has anyone thought through this before?

Thanks for all the replies to my data manipulation tooling. The dplyr library in R is one of my absolute favorite things in the world (I'm not exaggerating). I've been mulling over how to persuade/orient JS folks. These answers were super helpful.

I've been going through some of my old chart-y work. This fella -- from my undergrad topology thesis 10 years ago -- I'm inordinately proud of this.

A question for the D3 pros: what tools do you use for data munging? Javascript, Spreadsheets, SQL (or an ORM), R or Python, something else? If you use JS for most of it, I'd love to know more specifics regarding libraries (or maybe you're just aces with Array.prototype methods)

I'm having a hard time googling for a chart, can anyone help?...there was Viz that went viral earlier in the year: my memory is the first time Trump tweeted about the Mueller investigate, a cable news ran something that looked like this:

- - - - Show more

Amy Cesal's personal website makes me want to plagiarize

She's also doing a really amazing project making charts with Play-Doh (

I spent the last 45 minutes or so with r2d3! Passing data from R to JS is magically smooth, and it takes away some of intimidating setup of D3. I'm still getting my bearings, but it's really I just gotta learn D3.