Left-click to zoom in on a directory code, right-click to zoom out.
This example uses the Google Chart Tools.
Data is taken from the API for European Union legislation by Buhl & Rasmussen 2011. The original data source is EUR-Lex.
You can see the PHP source-code used to generate this example, and you can find more examples here.