Recompiling with Haxe 3

Hi,
I have gotten this code to compile with haxe3.
What version of d3 is this based off of?
I'd like to use it in my project, and want to upgrade to the latest d3.
It looks like you have started with the individual js files and build up the haxe files from there.
Is that correct?
Thanks,
Peter