added example with dygraphs