A new feature is live!
- Save your data and settings to a plain text file.
- Upload it later and pick up exactly where you left off.
More details (and code) to come…
(cross-posted from vis.social/@SankeyMATIC/)
A new feature is live!
More details (and code) to come…
(cross-posted from vis.social/@SankeyMATIC/)
Fun things I’ve been learning lately about the modern ways to do things on the web:
As always, MDN Web Docs has been invaluable for documentation and examples.
A cool feature is cooking!
(cross-posted from vis.social/@SankeyMATIC)
Adapted from a Mastodon thread.
Friends: I have been spending time in the Land of Somewhat Challenging Geometry Algorithms.
After an extended stay there, I return to you with some visible improvements to share.
SankeyMATIC has new ideas about how to arrange Nodes and Flows.
It now puts more effort into producing more balanced, more symmetrical, less lopsided diagrams.
Below are a couple of examples showing the difference it can make.
(To make comparisons clear, the same data inputs were used for the Old vs. New versions.)
One specific improvement these changes make possible:
Tree diagrams which are symmetrical!
You see tree patterns in lots of places, including sports tournament brackets.
Despite their simple structure, SankeyMATIC was not handling them well before.
It’s much better now:
When your data has any other internal symmetry, the diagram ought to reflect that when it can.
Now, Flows from Nodes which don’t have their full value flowing in/out can attach to the bottom of a Node when that makes sense.
This usually makes such diagrams look better, e.g. in the case of a funnel pattern:
The “Spacing” slider for Nodes has split into two: “Height” & “Spacing“.
Before, the slider was controlling both height & spacing, which wasn’t flexible.
Splitting them up gives you many more possibilities for how your diagrams look (as seen in the example images above).
In summary:
Try out the changes! In particular, play with the Height & Spacing sliders to see how they interact.
P.S. The code behind these improvements is already posted to github.com/nowthis/sankeymatic. The commits from October 2 – November 3, 2022 contain the key changes.
P.P.S. Enormous thanks to everyone who has donated in the past; your interest and generosity help to motivate work on improvements such as these. 🙂
Been busy making lots of changes, but haven’t been making lots of announcements.
Fixing that now!
Below are some highlights from the period April through early October, 2022; some of these items may get expanded posts in the future.
(The more recent major layout changes will get their own separate post soon.)
In the past, you could type a number to set the spacing between each Node in a column, but:
Now, you have a ‘Spacing’ slider which gives you an easy way to try out many different spacing approaches without needing to guess at a specific number.
And as a bonus, the look of your diagram will be preserved even when you change the height or margins.
One thing to keep in mind: The more spacing you add, the harder it becomes to accurately compare flow sizes, as you can see above.
Try it out! It’s actually pretty fun to experiment with.
(Honestly, it’s one of my favorite features ever.)
Now, choosing a color theme for your Nodes is much more flexible and fun.
SankeyMATIC has long had the ability to adjust the curvature of flows with a slider labeled Curviness.
However, it has not had the ability to remove all bends from the flows, since that actually requires a different drawing approach. (Straight or flat flows are really parallelograms, and no Bezier curve is going to produce that shape.)
That problem is now solved.
Setting the Curviness slider all the way to the left now produces truly straight flows.
For people who want higher-resolution output, there is now a 6x PNG image export option.
Downloaded PNG image files now have a date/time stamp in the name, like: sankeymatic_20220130_155723_600x400.png.
When people post their SankeyMATIC diagrams to social media, it’s very common for others to ask: “What did you use to make that?”
I’ve added a Made with SankeyMATIC tag to diagrams by default to help answer the question before people ask it.
For anyone who does not want the “Made with SankeyMATIC” tag, there is a simple nearby checkbox, plainly visible, to remove it.
Appearance controls which use sliders (examples: Curviness, Node Opacity, Flow Opacity, Border Width) now make immediate changes to the diagram as you drag them.
This makes it much easier to observe what each slider is doing and to precisely pick the value you want.
Now there are 3 different diagrams you can use as starting points when you first begin.
Note: When you have made any changes to the Inputs field, choosing a new base diagram will alert you that you will lose your changes if you continue.
Previously:
Now, SankeyMATIC will let you know that there are nodes with differences (not imbalances).
I may backfill more of the history here someday, but until then, you can browse the detailed SankeyMATIC version history at GitHub.