I need an SVG chart that is editable in place.
The chart can be a line chart, bar chart ( vertical and horizontal), stacked bar ( vertical and horizontal) or pie chart.
The chart grid line should change to accommodate the height, the preferred spacing between grid lines should be 30px.
The chart width should be just enough to display the values ( ie very little empty space ), and if values are added or removed the chart should increase or decrease in width.
Bars and slices will have a gradient fill. bars in addition will have a 1px stroke... the color values will be provided on request.
The user can change the colors by selecting the preferred color from a small popup.
The use should be able to add more values to the chart and also can edit the labels.
Either input elements or html content editable should be used for editing values or labels.
For pie charts, the user could add or edit or remove values via the legend only, changes should animate the slices. the pie chart slices should animate on hover displaying the value.
Inside the bar and line chart, the values of points ( or bars ) should appear on hover inside a bubble in addition to tinting the bar fill. clicking a point (or bar ) makes the bubble persist and the user can change its value in the bubble. Once the value is changed the chart should animate the change accordingly.
Bar charts may have positive or negative values.
The resulting chart must be scalable (ie fit the parent container and resize if the parent container resizes).
HTML 5 canvas should not be used.
Leveraging exiting libraries like d3 or raphael is OK.