Working on a new feature which will expand the ways you can set a node's color.
Soon, you'll be able to use:
* CSS color names
* HSL() colors
* and the most excellent OKLCH()
(See https://oklch.com/ to learn more.)
| Home page | https://sankeymatic.com/ |
| Code | https://github.com/nowthis/sankeymatic |
| Patreon | https://www.patreon.com/sankeymatic |
| Venmo/CashApp | "SankeyMATIC" |
Working on a new feature which will expand the ways you can set a node's color.
Soon, you'll be able to use:
* CSS color names
* HSL() colors
* and the most excellent OKLCH()
(See https://oklch.com/ to learn more.)
That feeling when you ship a feature that you've had in mind since 2015...
Your Nodes can now be labeled anything, or nothing, or every node in your diagram can show the same label if that's what you want.
Here's a Patreon post about it. More documentation to come!
This second annotated version of the Apple diagram shows how the discussion of the company's margins for different revenue streams can be lined up with the proportions that you can see in the diagram.
Visit https://sankeymatic.com/data/apple/ to see a more interactive version of the diagram and to make your own variation.
There's a lot going on in a diagram like this, and it may not be obvious at first glance.
That's why I'm also attaching two annotated versions.
This one specifically highlights & labels the differently-shaded Cost vs Margin sections of the Apple diagram.
A new Apple diagram is posted, showing their results for the most recent quarter (ended June 28).
In the discussion on the earnings call, Apple specifically noted that their product costs increased $800 million because of new tariffs. I've highlighted that share of product costs in red.
Visit https://sankeymatic.com/data/apple/ to see a more interactive version of the diagram and to make your own variation.
#dataviz #DataVisualization #SankeyDiagram #Apple #AAPL #earnings
The ranked-choice-voting results are in from the 2025 NYC Mayoral Democratic Primary.
Here's a Sankey diagram detailing how the rounds went. Zohran Mamdani won in the 3rd round, with 56% to Andrew Cuomo's 44%.
See an interactive version (and make your own custom variation) at https://sankeymatic.com/data/newyorkcity-mayoral-primary/
In anticipation of this year’s NYC Mayoral primaries (being held today), I've put together a diagram of the *previous* Democratic primary, from 2021.
See the big version at https://sankeymatic.com/data/newyorkcity-mayoral-primary/#2021-primary
When the 2025 primary results are finalized, I'll add a new diagram to the page.
KDL looks *very* interesting.
I’ve been interested in making the Sankeymatic syntax more flexible, but had never yet landed on going with something YAML-ish or something custom (daunting, because I don’t have experience with true parsers)
KDL looks like it might hit a sweet spot of: “friendly to type” plus “already has parsers”, with a bonus of “a community has already put in a lot of work to make it more flexible than I would have imagined”.
https://toot.cat/@zkat/113694316555037454
Attached: 2 images I am absolutely overjoyed to announce the release of #KDL 2.0.0!! https://kdl.dev It's a significant overhaul of the language to make it SO MUCH NICER in so many ways. This is the culmination of over 3 years of work (4 if you count from before 1.0.0), by SCORES of contributors. https://github.com/kdl-org/kdl/releases/tag/2.0.0 I want to give huge thanks to everyone who supported all of us through this, who jumped in and had some really amazing discussions weighing all sorts of interesting trade-offs. The end result is absolutely not something any one person could've reasonably come up with. I hope y'all enjoy it <3 As part of this release, several implementations have already launched with full support for v2.0.0, so you can try it now! 👉 #Rust #RustLang https://github.com/kdl-org/kdl-rs 👉 #C / #CPP / #Python https://github.com/tjol/ckdl 👉 #Elixir https://github.com/IceDragon200/kuddle 👉 #JavaScript / #TypeScript https://github.com/bgotink/kdl 👉 #Python https://github.com/tabatkins/kdlpy KDL is already used in all sorts of projects, and by various folks as a DSL for their own small hobby things: https://github.com/kdl-org/kdl?tab=readme-ov-file#used-by There are around 8k .kdl files out on GitHub, which is a lot considering it's usually a config language! I fully expect this to be the last version of KDL ever released. We really really tried, but I don't think there's anything we can reasonably improve on. From here on out, the language is in the (stable!) hands of the ecosystem. Also, we're hoping to have GitHub syntax highlighting support soon! (Boosts welcome!!)
BOTH of my books are currently 40% off on my publisher's website!
Go grab them and a lot of other great books at a great price!
https://techhub.social/@pragprog/113505629808589517
Attached: 1 image Turkeysale2024 Black Friday is here -- take 40% off at pragprog.com Everything we publish is on sale... including Beta Books! Just use coupon code turkeysale2024 at checkout