zeke / euclidean-distance

Calculate the Euclidean distance been two points in 2D/3D/nD space.
MIT License
53 stars 10 forks source link

updating README.md with n-dimensional text and an example #1

Closed micahstubbs closed 8 years ago

zeke commented 8 years ago

Thanks @micahstubbs. I wasn't "watching" this github repo so I missed this PR. Wanna rebase with master so I can merge it?

micahstubbs commented 8 years ago

@zeke of course! merged back with upstream/master, so should be up to date.

micahstubbs commented 8 years ago

by the way, here's the data-vis project I used this nice npm module for: http://bl.ocks.org/micahstubbs/raw/29b4fd2f1ed6ed68a81e/

the idea was that if you make a vector of vote % for each party in a city and compare that with the vote 'share' vector for every other city, you might learn something interesting about regional voting patterns.

zeke commented 8 years ago

Wow that visualization is very cool! It makes me happy to hear that my work is being put to creative use. :)