Simple graph generator for Notion. This page render graph using url parameters.
Pass following parameters to graph page.
x=1,2,3,4
: x valuesy=1,2,3,4
: y valuesgroup=A,A,B,B
: group valuessortBy=?
: sort values byx
ory
orgroup
values=1,2,3,4
: valueslabels=a,b,c,d
: labels
Notion Template: https://efcl.notion.site/Notion-Plotly-f38a5b4fafb342b6b9b3dea6e7de102c
- Create new Database
- Add the database's relation to another database which you want to collect data from
- Rollup properties
- Create URL using formula
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.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Welcome to new charts
MIT
Powered by netlify and plotly.