Leon van Zyl

Next.js, Tailwind and Firebase Tutorial #2 - Layout Part 3 | Finance Tracker

Leon van Zyl

Summary

A new section is added to a project to incorporate a chart, specifically a donut chart, using the Chart.js library with React. The process begins with installing the necessary packages and importing required components. The discussion highlights the importance of adhering to naming conventions to avoid errors, particularly in the context of Next.js, which operates with server-side rendering.

The episode details the setup of the donut chart, including the creation of a data structure that dynamically builds labels and values from dummy data. The chart's visual elements, such as background and border colors, are also specified. Adjustments are made to the chart's size and positioning to enhance its appearance on the page.

Further refinements include renaming data fields for clarity and updating references throughout the codebase. The session concludes with a summary of the progress made, including styling and component creation, and hints at future work on modals for adding expenses and income.

Show Notes

Learn more about your ad choices. Visit megaphone.fm/adchoices

More from Leon van Zyl

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

See all episodes →