Source: Drupal statistics at Ohloh [1].
Source: Joomla! statistics at Ohloh [2].
Source: Wordpress statistics at Ohloh [3].
Source: Plone statistics at Ohloh [4].
(These graphs depict statistics for the core of each project, and do not include contributed modules, extensions or third-party plugins.)
By Dries Buytaert
Source: Buytaert.net [5]
Links:
[1] http://www.ohloh.net/projects/3189/analyses/latest
[2] http://www.ohloh.net/projects/20/analyses/latest
[3] http://www.ohloh.net/projects/3192/analyses/latest
[4] http://www.ohloh.net/projects/70
[5] http://buytaert.net/cms-code-base-comparison