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

provide json endpoints for chart data #158

Open
tmaybe opened this issue Oct 18, 2016 · 1 comment
Open

provide json endpoints for chart data #158

tmaybe opened this issue Oct 18, 2016 · 1 comment
Assignees

Comments

@tmaybe
Copy link
Collaborator

tmaybe commented Oct 18, 2016

Right now, each main dataset page loads a raw CSV file and performs a series of transformations to create javascript objects that are then used to render the charts. Instead of doing that, we should provide an endpoint (or endpoints) that return the exact JSON objects that the charts need to render.

@tmaybe
Copy link
Collaborator Author

tmaybe commented Oct 18, 2016

Ben documented the JSON the charts use in issue #88. The methods that do the data transformation are in comport/static/js/charts.js.

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

No branches or pull requests

2 participants