about summary refs log tree commit diff
path: root/users/wpcarro/ynabsql/dataviz/index.html
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2023-01-06T18·16-0800
committerwpcarro <wpcarro@gmail.com>2023-01-08T22·49+0000
commit899828adeb68bad5bf528bc3319ab2a66a2e5553 (patch)
tree2d83ab43f48a31f7a6e6a38e36f92db59d71e859 /users/wpcarro/ynabsql/dataviz/index.html
parent1d59d3ba8f0f77d33e246984447c0ae5b3889316 (diff)
feat(wpcarro/ynab): Proof-of-concept viz for finances r/5630
After experimenting with existing "data engineering solutions" like
datasette, periscope, I think rolling my own dataviz for this project might be
easiest (surprisingly).

**Wish List:**
- Benthos job to dump my financial transactions into a SQL table.
- Scatter plot of expenses (or just transactions generally).
  - Support filtering the data using "Simple Select" query language.
- Stacked histogram of income/expenses with a line overlaying the "idealized"
  savings.

Change-Id: Iec2948641dba8c4c6d5ad19a0e1ea142b81198af
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7784
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/ynabsql/dataviz/index.html')
-rw-r--r--users/wpcarro/ynabsql/dataviz/index.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/users/wpcarro/ynabsql/dataviz/index.html b/users/wpcarro/ynabsql/dataviz/index.html
new file mode 100644
index 000000000000..00f35a7807dd
--- /dev/null
+++ b/users/wpcarro/ynabsql/dataviz/index.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <link rel="stylesheet" href="./index.css" />
+  </head>
+  <body>
+    <canvas id="mount"></canvas>
+    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
+    <script src="./index.js"></script>
+  </body>
+</html>