Port of D3 JavaScript library to ActionScript 3