Permalink
Browse files

fixed csv file format, animation uses data5000.csv, added demo info t…

…o README
  • Loading branch information...
1 parent 0b8e30b commit 6d35a10d6f87979c32d6675ac00e0f9e52f9e627 @olalonde committed Mar 3, 2012
Showing with 9 additions and 3 deletions.
  1. +7 −0 README.md
  2. +1 −1 demo/animation.html
  3. +1 −2 sample-data/data5000.csv
View
@@ -1,3 +1,10 @@
+# Demo #
+
+ python -m SimpleHTTPServer;
+
+Open your browser at
+[http://localhost:8000/demo/animation.html](http://localhost:8000/demo/animation.html)
+
# Usage #
var kmeans = require('kmeans');
View
@@ -25,7 +25,7 @@
google.load("jquery", "1.7.1");
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(function() {
- jQuery.get('../sample-data/data100.csv', function(data, status) {
+ jQuery.get('../sample-data/data5000.csv', function(data, status) {
var csv_data = data;
var data = CSVToArray(csv_data, ',', true);
//console.log(data);
View
@@ -4997,5 +4997,4 @@
0.16610347,0.4621439
0.30905721,0.31031133
-0.5379266,0.31227529
-0.62977272,-0.14224096
-
+0.62977272,-0.14224096

0 comments on commit 6d35a10

Please sign in to comment.