We need to reverse implement two custom charts developed for us by an external vendor. Their current implementation is a web service that accepts data via JSON and returns SVG charts. We are not privy to source code of the application. We would like to develop D3 based JavaScript implementations of these charts so that we can effectively remove our dependency on this external vendor and their work.
The majority of requirements can be gleamed from the attached documentation. Please develop JavaScript implementations of the aforementioned charts where a function calls to createDoubleBar and createVerticalBar with JSON input similar to the attached sample JSON creates D3 based charts equivalent to the attached sample chart outputs.