Using d3 with Angular.js
We take a look at how to combine d3 + Angular, with a complete codebase.
Using D3 with Angular.js#
While the codebase looks very different to the React codebase, the chart library structure is largely the same.
If you're not interested in developing Angular applications, I'd recommend poking around and noticing how similar the code is to the React code. If you are interested in developing d3 + Angular apps, the best route would be:
Run through the previous lessons with the React code
Try to fill out the
/src/app/timeline/timeline.component.tscomponent (including the nested chart, line, & axis components), following our steps
Check out the completed code in
/src/app/completedafter, or if you get stuck. You can switch these out if you change the imports in