liveBook · Manning

Visualization

As explained in Statistics Slam Dunk

Data visualization is the graphical representation of data or analytical results to reveal patterns, comparisons, or relationships.

Data visualization turns summarized data or analytical results into graphical form so patterns, comparisons, and relationships become easier to see. It supports exploratory analysis and helps transform noisy data into actionable insight. section 1.0 section 20.9

A practical workflow prepares and summarizes data, then plots it with R. Common forms include correlation plots for relationships between numeric variables, facet plots for grouped comparisons, bar charts for categorical counts, and histograms for distributions. section 1.2.1 section 1.2.1

Automobile data with R

Using the 32-row mtcars data set, ggplot2 produces a correlation plot, faceted boxplots of miles per gallon by cylinders and transmission, a bar chart, and a histogram. The patchwork package combines them into a 2 × 2 visual matrix. section 1.2.1

Figure 1.2 Visualizations of automobile data using the ggplot2 package
CH01_F02_Sutton

Compare four visualization types and see how ggplot2 presents automobile relationships, grouped distributions, counts, and numeric distributions. section 1.2.1

How Statistics Slam Dunk covers it

How deep it goes
Demonstrates several plot types with mtcars and connects visualization to exploratory analysis, but does not detail a single plotting method exhaustively.
Examples
Uses mtcars, correlation plots, faceted boxplots, bar charts, histograms, and a combined ggplot2-patchwork figure.
What it assumes
Assumes basic R use while introducing visualization through a small built-in dataset and plain-language plot definitions.
What you can do after
Apply visualization with R, ggplot2, and patchwork to inspect relationships, grouped distributions, counts, and distributions.
How it connects
Connects visualization with exploratory data analysis, summary statistics, correlation, facet plots, bar charts, histograms, and data wrangling.

Also explained in

Compare how 16 books explain visualization →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Statistics Slam Dunk. The section links point to the parts of the book it draws on.