GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Invictine/NotionChartMaker: NotionChartMaker is a Flask-based application that visualizes progress metrics from a Notion database in real time. The project dynamically generates a donut chart that updates periodically, displaying the current status of monthly goals or quotas

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
fonts
fonts
 
 
media
media
 
 
templates
templates
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Notion Chart Maker

I wanted a quick visual answer to “how many uploads have actually landed this month?” This Flask dashboard queries a Notion production calendar and turns its uploaded records into a donut chart, with the same counts available as JSON. Bring your own database and integration, then adapt the goal or chart to fit your workflow.

Notion Chart Maker Click preview above to watch illustrated architecture overview.

Connect a calendar

  1. Share a Notion database with your own integration. The app expects Name (title), Status (status), and Upload Due Date (date). It counts records marked Uploaded whose due date is in the current month.
  2. Set NOTION_API_KEY and DATABASE_ID in your shell environment. Keep the integration token outside the repository.
  3. Build and start the included Python 3.10 container.
docker build -t notion-chart-maker .
docker run --rm -p 127.0.0.1:8080:8080 -e NOTION_API_KEY -e DATABASE_ID notion-chart-maker

Open localhost:8080. The chart refreshes from the server, and /api/interactive-chart returns the counts and chart image. The goal defaults to five uploads and is set in main.py. This version uses the Notion database-query interface pinned by its dependency set.

Data flow

flowchart LR
  Notion[Notion database] -->|Integration API| Flask[Flask app]
  Flask -->|Monthly uploaded count| Chart[Donut chart]
  Flask -->|JSON and chart image| Browser[Browser dashboard]
Loading

The app needs a Notion integration with access to the selected database. Bind the container to loopback as shown above, and do not commit or share the integration token.

About

NotionChartMaker is a Flask-based application that visualizes progress metrics from a Notion database in real time. The project dynamically generates a donut chart that updates periodically, displaying the current status of monthly goals or quotas

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.