React SVG Graph

A simple graph component for React that plots the given data as either a bar or line graph. Any changes to the data will trigger an animated transition between the old and new graph.

Click the button to turn on a demonstration of animating the graphs by changing the data randomly every 2 seconds