Use JQuery UI and D3 to create a charts library