Recent Posts

Visualizing US Trade

3 minute read

Many major publishing outlets have recently created their own visuals to explain U.S. trade. One particular visualization in the Wall Street Journal caught m...

Random Number Generation

3 minute read

Random number generators are at the core of many applied computer science applications. For example, stochastic simulation models, statistical sampling, and ...

Hertzsprung–Russell Diagram in D3.js

less than 1 minute read

A Hertzsprung–Russell diagram (HR diagram) is a visualization of star data which shows the relationship between magnitude and spectral characteristics. The d...

Implementing KNN In Python

2 minute read

K-nearest neighbors (KNN) is an algorithm which identifies the k nearest data points in a training sample to a new observation. Typically, nearest is defined...