A sample of generating client side charts on the server using node