For a schema-first (vs. code first) approach (which I think would be a sweet spot for agent driven dashboarding), I'd suggest looking at
https://vega.github.io/vega-lite/ or
https://vega.github.io/vega/. A little higher level than full D3 but gives you a little higher level approach.