Create embed graph page from Notion Database.
MIT License
Simple graph generator for Notion. This page render graph using url parameters.
Pass following parameters to graph page.
/bar.html
x=1,2,3,4
: x valuesy=1,2,3,4
: y valuesgroup=A,A,B,B
: group valuessortBy=?
: sort values by x
or y
or group
/pie.html
values=1,2,3,4
: valueslabels=a,b,c,d
: labelsNotion Template: https://efcl.notion.site/Notion-Plotly-f38a5b4fafb342b6b9b3dea6e7de102c
Example
"https://notion-plotly.netlify.app/bar.html?sortBy=x&y=" + prop("Value") + "&x=" + replaceAll(replaceAll(replaceAll(prop("Date"), "", "/"), "", "/"), "", "") + "&group=" + prop("Company")
📝 Notion does not allow to use non-Ascii URL for embed.
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
Welcome to new charts
MIT
Powered by netlify and plotly.