I actually built this a while ago, but never posted anything about it.
The source is on GitHub.
A few weeks ago, Swederman on reddit’s NBA subreddit posted a great article discussing What if player salary was based on actual performance. As part of the article, he provided a ton of interesting data on NBA players and some cool charts.
Just for fun, I took some of the great data and built an interactive D3.js chart comparing a players Win Shares vs their Salary, expressed in percentages of the League totals:
The red line represents a regression across the entire league, while the blue line is a regression based on the current filter. Play with the chart!