From 21bbba7a32725ba658fd3f995705dbb04bba1101 Mon Sep 17 00:00:00 2001 From: texodus Date: Tue, 5 Jun 2018 16:11:25 -0400 Subject: [PATCH] Added an example of loading a CSV client side --- README.md | 2 +- .../perspective-examples/src/html/csv.html | 151 ++++++++++++++++++ 2 files changed, 152 insertions(+), 1 deletion(-) create mode 100644 packages/perspective-examples/src/html/csv.html diff --git a/README.md b/README.md index 5c7048953f..8c0e4a8068 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,11 @@ simple to build real-time & user configurable analytics entirely in the browser. * [streaming.html](https://unpkg.com/@jpmorganchase/perspective-examples/build/streaming.html) A streaming random data demo. * [coincap.html](https://unpkg.com/@jpmorganchase/perspective-examples/build/coincap.html) Streaming crypto currency prices via [Coincap.io](http://coincap.io/). * [theme-material.html](https://unpkg.com/@jpmorganchase/perspective-examples/build/theme-material.html) Material theme example. +* [csv.html](https://unpkg.com/@jpmorganchase/perspective-examples/build/csv.html) Upload a CSV of your own. ## Documentation * [Project Site](https://jpmorganchase.github.io/perspective/) - * [Installation](https://jpmorganchase.github.io/perspective/docs/installation.html) * [User's Guide](https://jpmorganchase.github.io/perspective/docs/usage.html) * [Perspective API](https://jpmorganchase.github.io/perspective/docs/perspective_api.html) diff --git a/packages/perspective-examples/src/html/csv.html b/packages/perspective-examples/src/html/csv.html new file mode 100644 index 0000000000..bef2fb24f3 --- /dev/null +++ b/packages/perspective-examples/src/html/csv.html @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + +
+
+

Upload a CSV file by dragging from your desktop and dropping onto the dashed region.

+

(Data is processed in browser, and never sent to any server).

+ + +
+
+ + + + +