Uploaded March 2021 | Updated December 2026, 1 hour ago
Drill down into the anim function to animate custom charts with no frameworks, no charting libraries, and only 20 lines of code.
- GitHub episode source code: github.com/jeremychone-channel/nwc-07-animated-charts
00:00 - Intro
00:11 - Why No Framework?
01:17 - Tech stack (Runtime first, micro libraries, custom anim function)
02:14 - LineChart refresh overview
02:35 - anim and drawChart zoom in
03:26 - anim and ease by example
04:36 - anim function line by line
06:47 - anim by example 2 & all synced
07:17 - #LearnWhatMatters
See also:
- Previous episode about writing a bouncing donut with Native Web Component: youtu.be/4It4gEbkC8Y
#TypeScript #WebComponents #Canvas2D #RequestAnimationFrame #JavaScript #FrontEnd #Web2021
Approach:
Scalable web application UI code using the Browser As The Framework.
NO ReactJS, NO Angular, NO vuejs or virtual-dom.
Good code design and Native Web Component can scale as well if not better than big or "small" web framework.
Principles:
- Best Practices over Frameworks
- Simple scales better
- Making something easy does not make it right.
OWN your code design from the start; runtimes always need to be learned;
#FrameworkLess #LearnWhatMatters
Drill down into the anim function to animate custom charts with no frameworks, no charting libraries, and only 20 lines of code.
- GitHub episode source code: github.com/jeremychone-channel/nwc-07-animated-charts
00:00 - Intro
00:11 - Why No Framework?
01:17 - Tech stack (Runtime first, micro libraries, custom anim function)
02:14 - LineChart refresh overview
02:35 - anim and drawChart zoom in
03:26 - anim and ease by example
04:36 - anim function line by line
06:47 - anim by example 2 & all synced
07:17 - #LearnWhatMatters
See also:
- Previous episode about writing a bouncing donut with Native Web Component: youtu.be/4It4gEbkC8Y
#TypeScript #WebComponents #Canvas2D #RequestAnimationFrame #JavaScript #FrontEnd #Web2021
Approach:
Scalable web application UI code using the Browser As The Framework.
NO ReactJS, NO Angular, NO vuejs or virtual-dom.
Good code design and Native Web Component can scale as well if not better than big or "small" web framework.
Principles:
- Best Practices over Frameworks
- Simple scales better
- Making something easy does not make it right.
OWN your code design from the start; runtimes always need to be learned;
#FrameworkLess #LearnWhatMatters










