This project creates a horizontal collapsible tree using D3 v5 library. The project uses Angular 8 CLI. Credits and inpirations Inspiration -
- @robschmuecker git - https://gist.github.com/robschmuecker/
- https://bl.ocks.org/d3noob/1a96af738c89b88723eb63456beb6510
Credits
- https://bl.ocks.org/d3noob/1a96af738c89b88723eb63456beb6510
- https://stackoverflow.com/questions/54966419/d3-angular-tree/54967494#54967494 - This SO answer helped me to frame my code.
- https://codepen.io/rjvim/pen/rYGzja
This project was generated with Angular CLI version 8.3.19.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.