https://github.com/leeper/dual-axis
dual y-axis figures are usually terrible
https://github.com/leeper/dual-axis
Last synced: about 2 months ago
JSON representation
dual y-axis figures are usually terrible
- Host: GitHub
- URL: https://github.com/leeper/dual-axis
- Owner: leeper
- Created: 2017-03-29T16:35:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-29T16:36:11.000Z (about 9 years ago)
- Last Synced: 2025-03-14T08:25:55.214Z (over 1 year ago)
- Language: R
- Size: 205 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dual y-axis figures are usually terrible
This is a simple Shiny app to show why dual y-axis figures are usually terrible.*
To run it, do:
```R
library("shiny")
runGitHub("dual-axis", "leeper")
```
As some quick examples, here are four screenshots showing how to manipulate two time series to appear to have basically any relationship:




As a result, the visualization - on premise - fails the most important criterion of data presentation: truthfulness.
---
* The only exception is when the two axes are linear transformations of each other (e.g., Fahrenheit to Celsius temperature conversions).