I think you might have the term of art wrong - it sounds like you're looking for a charting library, rather than an analytics tool? (most folks assume analytics in the sense of product analytics, like https://plausible.io/ or https://amplitude.com/)
Correct - an analytics tool wouldn't solve for this need. I'm interested in finding a better solution to how to build analytics experiences in your own app for your customers (whether that's a simple dashboard or an interactive experience)
Do you think a charting library is enough of a solution? As I understand you would still be required to do all the heavy lifting I mentioned above of building analytics from scratch, save for giving you a head start on the components themselves - right?