tw4l / METSFlask

A web application for human-friendly exploration of Archivematica METS files
MIT License
25 stars 4 forks source link

Add visualizations #18

Open tw4l opened 5 years ago

tw4l commented 5 years ago

e.g. pie charts using D3.js

ablwr commented 5 years ago

I have been playing around with this and came over to file an issue to ask if this kind of addition would be welcome --

Screenshot from 2019-10-02 09-37-47

I have some considerable clean-up to do; the code is super messy and styling has to be considered (colors are just hardcoded from an example instead of auto-generated for each new data point). But assuming clean-up, it seems like this would be a fine PR to make. Are there more specific things you had in mind re: visualizations/reporting, Tim?

tw4l commented 5 years ago

Ashley! This is so great! This is just the kind of thing I had in mind. A great addition! I'll follow up the details in PR #22, but thank you so much!

ablwr commented 5 years ago

OK! Yeah it still needs a bit of cleanup, I think, for better positioning ... but glad you like it and I'll keep moving forward! I wonder what other kinds of visualizations are useful?

tw4l commented 5 years ago

Yay! A bit of spitballing:

I just merged your branch here and made the semantic changes I mentioned in the PR. Feel free to hack away on the visualizations (I'm assuming time/interest here - you've already made such great contributions here, please feel free to step away at any time!) and maybe I'll focus on the backend changes to support types of files other than original.

tw4l commented 5 years ago

Another idea that would also take some backend work: it could be interesting to try to visualize the relationships between the original files and their preservation derivatives - comparing formats before and after, for instance

ablwr commented 5 years ago

Yes! Yeah I'm still interested, even if my freetime is a bit low for this work so PRs won't be as fervent as I'd like them to be. But I gotta keep my skills up!

tw4l commented 5 years ago

I totally get that! Sounds good :)

tw4l commented 4 years ago

Hi Ashley! I did a bit more layout work on this and think it's ready to go live as-is if you're keen! Of course you're always welcome to open new PRs too :)

ablwr commented 4 years ago

omg thanks!! My free time has stayed low since October although I do think about this and wanting to contribute. Don't let my lack of time block you in any way.

tw4l commented 4 years ago

Thank you! I appreciate that you spent some of your rare free time on this, and the door will always be open if you wanna do any more! I'm going to leave this issue open as a reminder to swing back and generalize the visualization beyond formats at some point...

ablwr commented 4 years ago

Of course! It really wasn't much work at all -- I like to think the biggest part was motivating you to do even MORE work after me to tidy up my sloppy quickly-drafted mess. :joy: