This repo contains Typscript code to create D3 Tree using D3 v5.5.0.
Latest version of node
and npm
.
Clone this repo to local machine.
git clone https://github.com/bhavesh-jadav/D3-Tree.git
Install the necessary packages by runing follwonig command in root of this repo where package.json file is.
npm package
Compile trypscript and watch for chagnes.
npm run tsc:w
Rollup js files and watch for changes.
npm run rollup:w
Serve the content on browser using live server
npm run serve
Modify D3Tree.ts
,app.ts
and index.html
to make the changes to the tree.
- D3 - Visualization library
- rollup.js - Module bundler
- live-server - For local server
This project is licensed under the MIT License - see the LICENSE.md file for details