A React.js component to render a svg graph