A scrum-like database driven Burndown chart created for Notion. It's interactive and reacts to changes in the database of the project. It uses Notion API, D3.js and SvelteKit.
Clone this project and...
create a new Integration (you can call whatever you want, I will refer it as Burndown
) add this new Integration to the page your database is inside, go to your Notion page and set get your API key. Place it in an .env
file like this:
API_SECRET=<YOUR_API_SECRET_CODE>
PUBLIC_NOTION_API=https://api.notion.com/v1/
add dependencies with npm i
then run this project using npm run dev
.
You must have runned it first, you cannot show in Notion without running. After the server is running, you can simply create a embbed on a webpage straight to your link. But some considerations should be done:
<YOUR_LOCALHOST>/?start=<START_DATE>&finish=<END_DATE>
for example: http://localhost:5173/?start=2023-08-01&finish=2023-08-30
. Because start and finish will limit the X domain of the chart.Stories
.Peso
(that means Weight in Portuguese) as a Number (should be the Fibonacci sequence 1, 3, 5, 8, 13 we use to weight tasks/stories)Finish
as a DateNome
(that means Name in Portuguese)And then you're set to go!
Simply send it online using a serverless platform. I would recommend Vercel. After that, just update your Notion embbed URL.