This project shows an example force graph using D3 with React and Typescript. You can fork the project then run npm install npm start