Visualization Notes

Published

Last modified: 2026-10-26 23:11:59 (PDT)

Welcome

These notes cover how to visualize data. Each page works through one plot, with R and Python code side by side. The code runs when the site is built, so every figure comes from the data shown.

0.1 Pages

  • Plotting a Binary Outcome: a rug and two histograms for a 0/1 outcome and a continuous feature.
  • Choosing Colors: how far apart a palette’s closest two colors are under simulated color vision deficiency.

0.2 Formats

Each page is available in these formats:

  • an HTML web page;
  • RevealJS slides, at the same address with -slides added to the page name;
  • a PDF handout and a Word document.

References

Back to top