Merge pull request #1 from j-4/master

did web interface for input
Select the chart element
Remove the existing svg element before creating the new one