-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Integrate Dash reports into the app #837
Comments
I would like to take part in it and other visualization tasks. |
Idea from @mattyweb : Chart demos via jupyter notebook. Benefits: Data-first over design-first approach to visualizations. Allows data team to easily explore and quickly generate plotly charts via Jupyter notebook. |
I finished the prototype version of this: https://dash-reporting.tofn9kh9mlm7g.us-east-1.cs.amazonlightsail.com/ Been tracking in a separate card: https://github.com/hackforla/311-data/projects/10#card-54099353 Next step is to figure out how to include in the client. I'm thinking there should be a menu that has those 3 reports/links and they should appear in an iframe...but there may be a more elegant way to do this. Let me know if I can help! |
Client rendering the dash prototype Looking pretty good. I spent a little time translating the python plotly into client-side react-plotly. This isn't working yet and now seems like a poor use of time when the Dash app in an iframe works. |
Suggestion from @rufataliy The UI might be too confusing for basic users. |
To clarify, this task is really about exploring and finalizing the approach. I'll open another for building the report page. |
@adamkendis could you detail what the requirements are for the UX/UI team? |
@danarchen The reports have been merged in and can be viewed on dev.311-data.org. Let's discuss this at tonight's meeting. |
I think this one is done. For this version we'll just include the Dash reports using the menu of the React app. I don't think we need to worry about linking between reports and the map in v2. But we should look into that in a follow-on release. |
I added a responsive layout to the reports. They now look at least tolerable on mobile. |
Description
We have decided to use Dash from Plotly as the main reporting engine for 311 Data reports. The main benefit is flexibility and the authoring workflow. They are generated server-side with a dedicated server and the resulting interactive reports have their data cached nightly so they will be performant. The best plan seems to be to host the reports in iframes in the client. Some work has been done to align the design and styling.
Action Items
Resources
The text was updated successfully, but these errors were encountered: