Daniel Zvinca

Daniel Zvinca

@danz68.bsky.social

A bit of everything, recreational math, mechanical engineer, programmer, statistics, dataviz.

1.2K followers199 following140 posts

Beyond #dataviz hobby. www.linkedin.com/posts/daniel...

linkedin.com#dataviz | Daniel ZvincaSharing the current stage of an interactive violin map, a #dataviz project encoding US wages. The concept is already there, even if the implementation is not yet as clean as I’d like. iOS rendering qu...
Daniel Zvinca@danz68.bsky.social

Sharing the current stage of an interactive violin visualization project. The concept is already there, even if the implementation is not yet as clean as I’d like. iOS rendering quirks forced heavier drawing logic than expected. danz68.github.io/visualprojec...

Desktop or mobile, with rich interactivity, experimental ideas, and a few easter eggs: center in-out size sorting, light border separation, adaptive/pinned tooltip, focus and zooming concept, unusual stack tracking, adaptive scale, shape morphing, and a nod to the law of large numbers.

Monotonizing data. Classical PAV: monotone but step-flattened. TPM: monotone and trend-faithful, maintaining readable dynamics such as endpoints, mass, slope continuity, inflection timing, and relative growth/decay patterns.

It was an exciting experience meeting so many statistical geeks in one place. Meeting @xangregg.bsky.social in person after more than a decade of social media debates was a particular delight. As he said, we could have talked forever.

Xan Gregg@xangregg.bsky.social

Back home after a few busy days in Berlin. 1. Presented at JMP Discovery Summit Europe 2. Met density dots inventor @danz68.bsky.social in person 3. Attended excellent Einstein Award colloquium featuring @elisabethbik.bsky.social @brandonstell.bsky.social @helenajambor.bsky.social

Daniel Zvinca reposted

Should we restart the debate about smoothed lines?

John Woodside@woodsideful.bsky.social

The rest of our peers are making progress to cut emissions while Canada is uniquely behind. We need to dispense with this idea emissions reductions are too difficult to do fast & the idea international climate diplomacy is pointless. It's working elsewhere. www.nationalobserver.com/2024/11/18/a...

View full thread

Each curve is an estimation based on a polynomial model (any decent model or smoother will equally serve the purpose). Doing so, there is a more clear distinction between curves, helped also by the white borders and proper z-order painting.

To improve even further the distinction, each curve is colored based on the ratio between the live expectancy variation and health expenditure variation between 1970 and 2020 (some countries have a narrower interval).

As mentioned many times before, it is my belief that decoding any process behavior is more important than its precise encoding. IMO, the main message here is not how the relationship between the life expectancy and health expenditure vary in time, but how life expectancy vary with health expenditure

I spent quite a bit of time developing the density dots plot graphics. Originally intended as a replacement for the beeswarms, it soon evolved into a complex graphical encoding technique. A bridge between the descriptive and inferential aspects of distributions, a quantile and a density estimator.

View full thread

A direct comparison between the adjusted by tolerance shape (colored area made of 25k dots) and the theoretical KDE (the line). Local modes are maintained (different heights, though), boundaries are adjusted according with the tolerance constraint, lovely smoothness. The tradeoff? See below.

I spent quite a bit of time developing the density dots plot graphics. Originally intended as a replacement for the beeswarms, it soon evolved into a complex graphical encoding technique. A bridge between the descriptive and inferential aspects of distributions, a quantile and a density estimator.

Each dot encodes a price with a tolerance of 500 rupees (the data set contains rental prices in one region of India). A seriously vertically squeezed Wilkinson dot plot (unit histogram) for comparison (the dot piles are much higher).

Another real life dataset (25000 values, I don't remember the meaning of the values, I used it for testing for so long), color encoding the dots tolerance. The top graphs encode the distribution of the quantile error BEFORE (left) and AFTER (right) applying the tolerance constraint of one dot.

Looking into the evolution of the relationship between two variables. Using the normalized covariance parts to encode the systematic relationship (how the change of one is reflected in the change of the other). Using different smoothing degrees for interpretation.

Besides the density shape faithfulness (the main goal of the density dots plot, here using the Epanechnikov kernel BW = 10x dot size), the dot encoding accuracy is way better than the Wilkinson dot plot (max error 0.25x dot size vs. Wilkinson's 0.5x dot size, trading-off dots total visibility).

KDE encoding wins by a serious margin to Wilkinson, KDE's max error placement is a half and average error is a quarter from Wilkinson's stats. The 5% overlapping dots area trade-off is almost unnoticeable.

You are up to date.