Shameless plug for a data + markup based approach, hiding some of d3.js complexity: https://github.com/PolymerEl/multi-verse.
Codebase is being migrated to Polymer 2.0, and better documentation.
Codebase is being migrated to Polymer 2.0, and better documentation.
I do not see any reason why this could not work with your API. If interested, some concrete/simpler examples available from https://github.com/PolymerEl/multi-chart (also being ported / simplified; ETA next week)