Added example with D3 js library which we can use for creating the diagrams