TypeScript
Every chart in this course is written in TypeScript, a superset of JavaScript that adds static types. But what does that actually buy you, and why is it worth the extra syntax?
This lesson is a gentle introduction to TypeScript for dataviz: how to type your data, your component props, and your D3 scales so the compiler catches mistakes before your chart ever renders.
Members only
10 minutes readπͺ Let's practice!
Oh no! π±
This lesson isnβt available just yet.
Take a look at the status badges next to each lesson in the sidebar to see when itβs coming out.
Thanks for your patience! π