example with D3 graph