Fitting multiple curves with a constant sum?
April 24, 2008 8:32 PM
Subscribe
Is there a means of fitting curves to several independent series of points with the property that, if all the points at any given
x in the original data have a constant sum, all of the interpolated points at any given
x have a constant sum? Is there a means of doing so which generates a set of cubic or quadratic Bezier curves which I can use in SVG rather than a series of points or a function?
This may be a very stupid question. My math is an embarrassment. Please talk down to me.
The (naïve, heuristic) interpolation I am using now purely for aesthetic purposes does not have this property.
The underlying goal here is to chart changing shares of a whole over time. Of course, the shares always total 100%; I'd like the interpolated values to do the same.
posted by enn to grab bag (18 comments total)
3 users marked this as a favorite
posted by yarmond at 9:17 PM on April 24