It is useful to think about the purpose of each layer before it is added. In
general, there are three purposes for a layer:
• To display the data. We plot the raw data for many reasons, relying on
our skills at pattern detection to spot gross structure, local structure, and
outliers. This layer appears on virtually every graphic. In the earliest stages
of data exploration, it is often the only layer.
• To display a statistical summary of the data. As we develop and explore
models of the data, it is useful to display model predictions in the context
of the data. Showing the data helps us improve the model, and showing
the model helps reveal subtleties of the data that we might otherwise miss.
Summaries are usually drawn on top of the data.
• To add additional metadata: context, annotations, and references.
A metadata layer displays background context, annotations that help to
give meaning to the raw data, or fixed references that aid comparisons
across panels. Metadata can be useful in the background and foreground.
A map is often used as a background layer with spatial data. Background
metadata should be rendered so that it doesn’t interfere with your perception of the data, so is usually displayed underneath the data and formatted
so that it is minimally perceptible. That is, if you concentrate on it, you
can see it with ease, but it doesn’t jump out at you when you are casually
browsing the plot


雷达卡



京公网安备 11010802022788号







