How to Make Pie Chart Illustrator
StyleFrame Team8 min read
To make a pie chart in Illustrator, select the Pie Graph Tool (nested under the Column Graph Tool, shortcut J), click or drag on the artboard, and type your labels and values into the Graph Data window. Click the checkmark and Illustrator calculates each slice's share of the whole and draws the chart with a legend. Recolor slices with the Group Selection Tool, and ungroup the graph only when you want custom styling like a donut ring, since ungrouping breaks the link to your data. For motion work, keep the finished chart as vector artwork so you can bring it into your animation software.
Method 1: Build a Data-Driven Pie Chart with the Pie Graph Tool
Use this method when the numbers matter and might change. A client revises a stat, you update the data table, and the slices resize accurately.
Step 1: Find and set up the tool
- Press J or click and hold the Column Graph Tool in the toolbar, then choose Pie Graph Tool.
- Optional: double-click the tool to open the Graph Type dialog and check the options.
- Click once on the artboard to enter exact dimensions, or drag out a square. Holding Shift while dragging keeps the proportions equal, so the pie stays circular.
Step 2: Enter your data
A spreadsheet-style Graph Data window opens. Type your labels in one row and your values in the row beneath, then click the checkmark (Apply) to generate the chart.
Values don't have to add up to 100. Illustrator converts them into proportions of the total. If you enter 40, 25, 20, and 15, you get those percentages, but 400, 250, 200, and 150 produces an identical pie.
Step 3: Fix the "multiple pies" problem
A common first-time issue is that the chart appears as several pies of different sizes instead of one pie cut into slices. This happens when your data is oriented by column instead of row. Reopen the data window and click the Transpose row/column button, then apply again. You should get one pie with a slice per value.
Step 4: Recolor and restyle
The default output is a grayscale pie with a plain legend, which is rarely what you want to ship. To restyle it while keeping the data live:
- Use the Group Selection Tool (the white arrow with a plus sign) and double-click a slice. This selects the slice and its matching legend swatch together, so one fill change updates both.
- Apply swatches from a brand palette so colors are consistent when the chart reaches After Effects.
- Use the Appearance panel to adjust strokes. A thin stroke in the background color is a quick way to create clean gaps between slices.
- Edit label text by selecting it with the Direct Selection Tool and changing the type properties.
If you only need to tweak colors and fonts, stay at this stage. As long as the graph is still a graph object, you can reopen the graph data and update numbers any time.
Method 2: Draw a Pie Chart from Live Shapes
Use this method for stylized graphics where exact data entry isn't the point, such as an infographic with three slices that you'll hand-animate anyway.
- Draw a circle with the Ellipse Tool (hold Shift for a perfect circle).
- With the shape selected, open the Properties panel. In versions of Illustrator that support it, the Live Shape options may include pie start and end angle controls, and you may also be able to drag pie handles on the canvas.
- Set the angle for the first slice. For a 40% slice, the sweep is 144° (0.40 × 360).
- Duplicate the circle for the next slice, set a new start angle where the previous slice ended, and set its end angle accordingly.
- Repeat for each slice, coloring each separately.
The advantage is that every slice is its own clean shape, which is convenient for animation. The downside is that nothing is connected to data, so you do the math yourself and check that the angles total 360°.
Make a Donut Chart
Donut charts are common in motion graphics because the empty center holds a big number or an icon. Two reliable routes:
From the graph (static, fast)
- Create the pie with the Pie Graph Tool.
- Select the graph and choose Object > Ungroup. This permanently detaches the chart from its data table, so duplicate the original first if you might need edits later.
- Ungroup further until each slice is a standalone path. The slice colors sit in nested groups, so you may need to ungroup several times.
- Draw a circle from the center point using the Ellipse Tool with Alt/Option held (and Shift for proportion), sized to the hole you want.
- Select the circle plus the slices and apply Pathfinder > Trim, or place the circle on top, fill it with the background color, and then delete it from the stack once the hole is cut.
- Ungroup the result and delete the cutter circle.
From strokes (better for animation)
If the donut will be animated, building it from strokes makes your life easier. Draw concentric or sequential arcs as open paths with thick strokes and no fill. Later, each arc can be animated on in your motion software. This also keeps the hole as true empty space rather than a masking shape.
Style and Prep the Chart for Motion
A chart that looks fine on a print layout can cause trouble in a timeline. A few habits save time:
- Name layers and groups. "Slice_Revenue" is far easier to find in After Effects than "Path 14." Rename before you import.
- Keep text live while building, then decide. Text may not arrive as live text in every workflow. Plan on retyping labels with native After Effects text layers for consistent control.
- Separate elements. Put the chart, legend, labels, and background on separate layers or groups.
- Use RGB color mode. CMYK swatches shift when they enter an RGB video pipeline. Set the document to RGB when you start.
- Size generously. Build the artboard at or above your comp resolution so scaling up doesn't soften edges.
Bring the Pie Chart into After Effects
There are two common import paths:
- Import the .ai file. Keeping your Illustrator layers as individual layers is good for position, scale, and opacity animation.
- Convert to shape layers. If your workflow supports it, converting the imported vector layer to shape layers gives you editable fill, stroke, and path properties for every slice.
From there, typical animations include:
- Stroke sweeps on a stroked donut arc, animating the end from 0% to the target value for a clean sweep-on.
- Scale or rotation staggers on individual slices for a pop-out reveal.
- Counters tied to the arc animation, so a percentage number counts up in sync with the arc.
- Slice offset by moving each slice outward along its angular bisector for an "exploded" pie.
Where Styleframe Fits
Illustrator and After Effects remain the right tools for the chart itself, because the data, angles, and labels must be exact. Styleframe, an AI video and motion tool, is useful around the chart, not for generating it.
Some practical uses in a data-visualization piece:
- Stylizing the surrounding world. Use reference-driven AI tools to give an existing background plate or illustration a consistent look that matches your chart palette.
- Building transitions between states. Define a start frame and end frame, such as a flat chart layout and a more elaborate scene, and generate the motion between them.
- Adding depth. Turn a flat illustrated element, like an icon beside your chart, into something you can view from other angles, or isolate elements for compositing.
- Delivering at resolution. Upscale generated footage to production quality for your timeline.
Keep the numerical graphic itself in vector, composite the stylized layers behind or around it, and you retain precision where it counts.
Common Problems and Fixes
- Pie looks like several overlapping circles: Transpose rows and columns in the data window.
- Can't edit the numbers anymore: You ungrouped the graph. Undo, or rebuild it. Keep a hidden copy of the original graph on a separate layer.
- Colors change between Illustrator and After Effects: Check that the document color mode is RGB and that your project's color management settings match.
- Slices are not selectable individually: Use the Group Selection Tool or Direct Selection Tool instead of the standard Selection Tool.
- Legend swatches don't match after recoloring: Recolor through the Group Selection Tool with a double-click so the slice and swatch update together.
- Strokes scale unevenly in After Effects: Convert to shape layers, or rebuild the stroke in After Effects.
Quick Workflow Summary
- Choose the Pie Graph Tool (J) and drag out a square with Shift held.
- Enter labels and values, then click the checkmark. Transpose if you see multiple pies.
- Recolor with the Group Selection Tool and your brand swatches.
- Ungroup only for custom looks like a donut, after saving a data-linked copy.
- Name layers, work in RGB, and import into After Effects.
- Animate in your motion software.
Keeping the chart data-driven as long as possible, and treating the ungroup step as the final design decision, will save you from rebuilds when a client changes the numbers.