Each example is a random vector in the same "space" as the sample in the top left.
Each row represents one dimension of our vectors. You can drag them back and forth to change the value of our vector for that dimension.
The bar below each vector is a measure of how similar it is to the sample in the top left.
I first made cosine similarity to try and visualize the process. @mumrah forked the block and modified it to use Manhattan Distance
I made this explanation because I'm trying to use find similar blocks and in order to do that I need to understand cosine similarity. They say nothing helps you understand better than trying to explain it!
forked from mumrah's block: manhattan distance
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js