Skip to content

Instantly share code, notes, and snippets.

View ainsleymcgrath's full-sized avatar
🐍
hisssssssss

Ainsley McGrath ainsleymcgrath

🐍
hisssssssss
View GitHub Profile
@ainsleymcgrath
ainsleymcgrath / magnitude.csv
Last active January 9, 2019 14:59
A simple dataset to demonstrate exactly how briefly we've been present in the universe.
stretch start end
The Universe -14500000000
Sun as Main Sequence Star -4500000000 5500000000
Earth as a Physical Planet -4400000000 5500000000
Earth with Liquid Water -4400000000 1000000000
Prokaryotes -4000000000
Photosynthesis -3500000000
O2 Rich Atmosphere -2300000000
Eukaryotes -2200000000
Multicellular Life -1500000000

Chatbots - Apt Labs 2018

A Tale of 3 Bots: Towards a Blog Post

I racked my brain trying to rustle up a list of bots I've had a good time interacting with. I'm sure there are multitudes, but most have been forgettable. I could only think of three, and for a moment I felt as if I was settling. Turns out, they were just the best bots I've met.

  • Quartz News app
  • Digit
  • Google Assistant
@ainsleymcgrath
ainsleymcgrath / TMYK-exercism.md
Created December 14, 2017 14:07
A little writeup on Exercism and what I like about it.

TMYK: exercism.io

A little over a year into earnestly working on teaching myself to code, Exercism has quickly the most valuable tool in my autodidact toolkit. Finally, I've gained the healthy addiction to programming that it takes to really continue leveling-up and building valuable technical skills.

What is it?

Exercism is a command-line utility and online code repository for a wide selection of "toy problems" in a host of popular, up-and-coming, and obscure programming languages.

@ainsleymcgrath
ainsleymcgrath / .block
Created June 23, 2017 14:18
Imitator Dynamics Graph
license: mit
@ainsleymcgrath
ainsleymcgrath / .block
Created June 19, 2017 18:41
pictogram table | d3v4
license: MIT
border: no
height: 900

Of Waffles, Pies, Planes, Trains, Teslas, and Trees

Ainsley McGrath


Part 1: A Waffle Is Not A Pie

Some Context:

Data visualization is still a very young field. Many of its more recognizable expressions such as the bar chart and the scatter plot are quite settled in terms of best practices. The case for their usefulness has been made by their adoption as standards. However, dispute over some standards continues. One of the most hotly debated visualizations remains remains the pie chart.

An individual pie chart displays the proportional relationships among n parts of a whole, and each part's relationship to that whole. Its highly simplistic structure makes it very easy to understand. Common criticisms of the pie chart include humans' supposed lack of skill in discerning angular variation –more on that later–, the univariate information provided by the chart, and the rapid degradation of readability that occurs as n increases.

@ainsleymcgrath
ainsleymcgrath / .block
Last active June 17, 2017 19:12
Float & React
license: mit
@ainsleymcgrath
ainsleymcgrath / .block
Created May 17, 2017 17:51
Let's Make a Grid with D3.js
license: gpl-3.0
height: 510
@ainsleymcgrath
ainsleymcgrath / data.csv
Last active April 4, 2017 20:51 — forked from XavierGimenez/data.csv
Waffle Chart
age population
<10 2704659
10-20 4499890
21-30 2159981
31-40 3853788
41-50 14106543
51-60 8819342
61-70 612463
71-80 144320
81-90 3730220