rmdmattingly / RowlogAnalysis

MIT License
5 stars 0 forks source link

Frontend design talk #6

Open rmdmattingly opened 4 years ago

rmdmattingly commented 4 years ago

I wanted to propose my design ideas for the analysis page. Should be really simple.

I'll create an endpoint which returns all available Services. We can populate a dropdown select with this data.

When a user selects a service from said dropdown we make an async request to an analysis endpoint which runs the service and returns the analysis. We then create an html table on the page populated with said analysis.

This could be a good v1, would be super simple, totally functional, and reasonably scalable as we add more services.

I'd be open to thoughts on how we build charts (assuming we want to do that) -- I think we could have a separate javascript file in the directory that takes in a service name & the data returned by said service and knows how to create a relevant chart based on the name. We'd obviously have to pre-program the service name -> chart pipeline but that should be fairly straightforward and scalable.

taddyb commented 4 years ago

The hardest part will probably be the js for this. What are your thonks on using D3 JS? The brand new Marist Data science major teaches it and it’s highly recommended online.