Huh, this looks like the same thing I came up with about three years ago. I'd tracked my weight for a long time and only just started tracking calories, then a month or so in wondered if combining the two datasets would result in anything useful. After about six months there were some obvious patterns, and ever since a year in I've been able to control my weight however I want without much effort.
One graph I have that I don't see on there is average-calories-per-day on the X axis and weight-change-per-week on the Y axis (scatter plot). Sticking a linear regression on top told me all those online estimators for how many calories you burn in a day are just wrong, at least for me.