-
Notifications
You must be signed in to change notification settings - Fork 472
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
Modernizing MetricsGraphics #929
Conversation
Missing points, active points and baselines are added, together with some examples. The following features are missing:
Some remarks:
Does anyone else have something to add to those remarks? Otherwise, I'd start with the merge preparations today. |
The fork is ready to be merged. |
Some context on brushing & zooming: this was something we really wanted for some internal tools @ Mozilla (I actually mentored a GSOC project about it a few years back), but I defer to your judgment on whether to keep it -- the internal need has long-since passed. I agree on the other items like buttons and data tables, they are occasionally useful for data visualization but IMO the features never reached a level of maturity that I was happy with, and felt kind of out of place. |
Hi @wlach, thanks for getting back! |
Awesome to see this merged! 🎉 🎆 Regarding your questions:
More broadly, I think it's important for a library to have fairly strict boundaries on what it's trying to do, and what stuff is out of scope. Also, every new feature has a "maintenance cost" so another reason to not add too much. For me, what MetricsGraphics does really well is that the graphs are presented beautifully and simply, i.e. the focus on great visual representation of data. The type of visualization that you'll find in good newspapers such as New York Times or The Economist. For this, some advanced features are needed. Things like annotations, support for missing data, confidence bands, log scale, time spans and time formatting. But it shouldn't try to compete with Mathlab or other advanced visualization software. These are just my thoughts though. Totally your call! |
Hi all!
First of all, this PR is currently not intended to be merged. I'm still working on it (and it will take some while until a stable state is reached). I just wanted some input.
As @wlach pointed out in his blogpost from September 2019, MetricsGraphics is currently unmaintained.
Also, there are some general problems with the current state of the codebase:
Because MetricsGraphics was one of the things that really got me into data visualization, I started modernizing the codebase on my fork. The following things are done:
The next steps are:
MG.data_graphic
into multiple classes, one per chart typeThese changes are obviously breaking. An example chart changes from
to
My main question is: Is there any interest in such a breaking overhaul of the library? If there is, great! If not, I'll continue working on my own fork.