This example demonstrates using tfjs-tsne to do dimensionality reduction on the MNIST data set. Here we take 10000 images of digits, resize them to 10x10px and use T-SNE to organize them in two dimensions.
See the the paper for more details, and check out the code for this example here.