19.1 Introduction (the existence of internals)

The user-facing code that defines a ggplot on the surface is not the same as the internal code that creates a ggplot under the hood. In this chapter, we’ll learn about how the internal code operates and develop some intuitions about thinking about the internals, starting with these two simple examples of mismatches between surface and underlying form: