* Add error checking for assignment of SVG element.
* Tidy up Chart constructor.
* Add basic data processing for world-bank-indices chart type.