# Add or delete a graph in Keynote on Mac

When you create a graph in Keynote, you type graph data in the Graph Data editor (not in the graph itself). If you later make changes in the Graph Data editor, the graph updates automatically.

## Add a column, bar, line, area, pie, donut or radar chart

Click in the toolbar, then click 2D, 3D or Interactive to see different graph types.

Click the left and right arrows to see more styles.

Click a graph to add it to the slide.

To add data, click the graph, click the Edit Graph Data button near the graph, then enter your data in the Graph Data editor.

To change whether rows or columns are plotted as a data series, click one of the buttons in the top-right corner of the table.

Close the Graph Data editor to return to your graph.

## Add scatter graph

Scatter plots show relationships between two or more sets of data. They display data as points and require at least two columns or rows of data (x and y values) to plot values for a single data series. By default, each data series in a scatter plot shares the x-axis value, so you need to add only an additional row or column to show another data series.

The scatter plot below shows the correlation between driving speed and mileage (litres per kilometre).

Click in the toolbar, then click 2D or Interactive (there are no 3D scatter plots).

Click the right and left arrows to see more styles.

Click a scatter plot or drag one to the slide.

To add data, click the graph, click Edit Graph Data, then enter your data in the Graph Data editor.

Each row or column represents a data series to be plotted on the chart.

Do any of the following:

*Change whether rows or columns are plotted as a data series:*Click one of the buttons in the top-right corner of the Graph Data editor.*Use a different x-axis value for each data series:*Click , then deselect Share X Values. Click each cell to enter your own x and y values for the data series.*Add another data series:*Type a new data series name in the next empty column (or row, if plotting by rows), then press Return.

Close the Graph Data editor to return to your graph.

## Add bubble graph

A bubble chart is a type of scatter plot in which the data are plotted as bubbles, rather than as points. You can use a bubble chart to plot data with three dimensions. Each data series includes a third dimension that conveys the relationship between the compared values (x and y) and a size value (z). The size value determines the size of the bubble.

By default, each data series in a bubble chart shares the x-axis value, so you need to add only two additional rows or columns of data to show another data series. If you select to use independent x-axis values, you need to add three additional rows or columns (x, y and z) to show another data series.

The bubble chart below shows how the number of units sold (y) varies with the number of salespeople (x). The data is plotted as bubbles of varying sizes — the larger the bubble, the higher the total sales amount (z).

Click in the toolbar, then click 2D or Interactive.

Click the left and right arrows to see more styles.

Click a bubble chart or drag one to the slide.

To add data, click the graph, then click the Edit Graph Data button near the graph.

The Graph Data editor appears with placeholder data (x-axis, y-axis, and size values). Each column represents a data series to be plotted on the chart.

Click each cell to enter your own x, y and size values for the data series.

To add another data series, type a new data series name in the next empty column (or row, if plotting by rows), then press Return.

To change whether rows or columns are plotted as a data series, click one of the buttons in the top-right corner of the Graph Data Editor.

If you don’t want to use the same x-axis values for each data series, click , then deselect Share X Values.

In the Format sidebar, click the Series tab.

In the Bubble Data section of the sidebar, click the size values pop-up menu, then select how you want to represent bubble size values (area or diameter).

To show bubbles with a negative value, select the “Show negative bubbles” tick box.

Close the Graph Data editor to return to your graph.

## Add an interactive graph

Interactive charts can be used to show data such as sales by group over time, expenses by department and population changes by region per continent. The example below shows the growth of three species during a three-year period.

You can interact with the graph using a slider and buttons or buttons only.

Click in the toolbar, then click Interactive

Click the right and left arrows to see more styles.

Click a graph or drag one to the slide.

To add data, click the graph, click the Edit Graph Data button near the graph, then enter your data in the Graph Data editor.

You can add numbers, dates, durations, column and row headers in the data cells. To format the numbers, select the cells; in the Format sidebar, click the Series tab; then click the Value Labels pop-up menu.

To change whether rows or columns are plotted as a data series, click one of the buttons in the top-right corner of the Chart Data editor.

The data series are always plotted in an interactive graph, but each data set is displayed separately.

Close the Graph Data editor to return to your graph.

To change the type of control used for interacting with the graph, click the graph, then in the Format sidebar, click the Graph tab.

Click the pop-up menu below Interactive Graph and select Buttons Only.

You can add a Magic Graph build effect to an interactive graph, which animates the different graph data series. See the task below.

## Add a Magic Graph effect to an interactive graph

You can animate the different data series in a graph with a Magic Chart build effect.

Click the interactive graph.

In the Animate sidebar, click the Build In tab.

Click the Build Order button at the bottom of the sidebar, then click your graph in the Build Order list.

Click the Start menu, then choose an option:

*On Click:*The Magic Graph effect plays when you click on the slide during the presentation.*After Transition:*The Magic Graph effect builds and plays when the slide opens during the presentation.

Click Preview to see an animated display of your graph’s data series.

## Delete a graph

Click the graph to select it, then press Delete on your keyboard.