Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedding API #5

Open
capnrefsmmat opened this issue Jul 18, 2015 · 0 comments
Open

Embedding API #5

capnrefsmmat opened this issue Jul 18, 2015 · 0 comments

Comments

@capnrefsmmat
Copy link
Owner

I should make it easy to embed regressomatic plots in any HTML document.

It's already fairly easy, as evidenced by regression.html, but I should give a simple API to:

  • Specify the axes labels, data set, diagnostic to show, and statistics to provide
  • Select an empty element to dump them into.

Data could be provided as a JS array or as the URL of a CSV file, in which case we'd fetch the data and axes labels automatically.

This would require making a wrapper function that loads the data, populates the empty element with spots for regression and residuals, and calls regressionPlots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant