1.
Select Help > Sample Data Library and open Candy Bars.jmp.
2.
Select Graph > Graph Builder.
3.
Drag and drop Total fat g into the X zone.
4.
Drag and drop Calories into the Y zone.
Example of Calories versus Total fat g
5.
Drag and drop Cholesterol g into the Group X zone.
Example of Calories versus Total fat g by Cholesterol g in the Group X Zone
6.
Click on Cholesterol g in the Group X zone and drag and drop it into the Wrap zone.
Example of Calories Versus Total fat g by Cholesterol g in the Wrap Zone
A scatterplot of Calories versus Total fat g is created for every level of Cholesterol g.
7.
Remove Cholesterol g by right-clicking on the Cholesterol g label in the Group X zone and selecting Remove.
8.
Drag and drop Carbohydrate g into the Wrap zone.
Example of Calories Versus Total fat g by Carbohydrate g
Carbohydrate g is a continuous variable with many values, so Graph Builder uses the percentiles to create five ranges of carbohydrate g levels. About the same number of points are displayed in each group. You can see that the relationship between calories and fat is relatively strong for each level of carbohydrate. It appears that carbohydrates adds additional predictive ability.
9.
Drag and drop the Carbohydrate g label from the Group X zone to the Overlay zone.
Example of Carbohydrates Overlay
11.
Rename the Title to Carbohydrate grams.
12.
Example of a Completed Graph
The Graph Builder Window
Drop variables here to create map shapes. See Create Map Shapes. If you have a variable in the Map Shape zone, the X and Y zones disappear.
The X, Y, and Map Shape zones are positional, and influence the types of graph elements that are available.
The Group X, Group Y, Wrap, and Overlay zones partition the data into subsets and lay out multiple graphs by either dividing the graph space or by overlaying the graphs.
The Color and Freq zones modify certain graph elements.
Related Information 
For the X, Y, Group X, and Group Y zones, see also:
The Points element shows data values.
The Smoother element shows a smooth curve through the data. The smoother is a cubic spline with a default lambda of 0.05 and standardized X values. You can change the value of lambda using the slider.
The Line of Fit element shows a linear regression with confidence intervals. The confidence intervals are fixed at 5% confidence, with an alpha of 0.05.
The Ellipse element shows a bivariate normal density ellipse.
The Contour element shows regions of density or value contours. If you specify only one continuous variable for X or Y, a violin plot appears instead of a contour plot.
The Line element shows a response summarized by categories.
The Bar element shows a response summarized by categories.
The Area element shows a response summarized by categories.
The Box Plot element shows a compact view of a variable’s distribution, with quartiles and outliers.
The Histogram element shows a variable’s distribution using binning. If you specify the same variable for X and Y, then the Y role is ignored and a single histogram appears.
Tip: To overlay histograms transparently, assign a Y variable and an Overlay variable. Then, click the Histogram element icon.
The Heatmap element shows counts using color for X and Y categories.
The Pie element shows portions of a whole.
The Treemap element shows a response summarized by categories.
The Mosaic element shows counts using size for X and Y categories.
The Caption Box element shows a summary statistic value for the data.
The Formula element shows a function defined by a column formula.
The Map Shapes element creates a map on the graph.
Undo reverses the last change made to the window.
Recall populates the Graph Builder window with the last graph that you created. The Recall button becomes the Undo button once you perform an action.
Start Over returns the window to the default condition, removing all data and graph elements from the window, and all variables from the drop zones.
Dialog opens the Graph Builder launch window. After you click it, the Dialog button becomes the Start Over button.
Done hides the buttons and Select Columns box and removes all drop zone outlines. In this presentation-friendly format, you can copy the graph to other programs. To copy the graph, select Edit > Copy. To restore the window to the interactive mode, click Show Control Panel on the Graph Builder red triangle menu.