aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/web/plotly.md
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-08-31 00:26:17 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-08-31 00:26:17 +0200
commit1070b7b60308925b9c0f98075c354bb05b6f25ca (patch)
tree36449adc32da941e5213d93609be59e0560dbca6 /src/web/plotly.md
parent205fa3c6183d12a274d635810197044a6487ec3d (diff)
downloadnotes-1070b7b60308925b9c0f98075c354bb05b6f25ca.tar.gz
notes-1070b7b60308925b9c0f98075c354bb05b6f25ca.zip
web: add plotly example
Diffstat (limited to 'src/web/plotly.md')
-rw-r--r--src/web/plotly.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/web/plotly.md b/src/web/plotly.md
new file mode 100644
index 0000000..31736b7
--- /dev/null
+++ b/src/web/plotly.md
@@ -0,0 +1,16 @@
+# Plotly js
+
+Visualization library for javascript based on `d3`.
+
+Official documentation is [here][plotly-js].
+
+## Line chart example
+The following is an example for a *line* chart which contains many options that
+I frequently use. It is bloated on purpose to document the options for myself.
+
+[Rendered html](src/plotly.html)
+```html
+{{#include src/plotly.html:3: }}
+```
+
+[plotly-js]: https://plotly.com/javascript/