Grain Chain Data Visualization
Available Pages:
How Static Generation Works
This application uses Next.js static generation to create pre-rendered pages at build time:
- The
/testpage fetches data during build time and generates a static HTML table. - The
/test-vizpage uses Chart.js to create an interactive visualization with pre-loaded data. - All database queries are executed at build time, making the deployed site fast and secure.
This approach ensures optimal performance and allows the site to be deployed as a static export.