Suite101

Using the Adobe Illustrator Graph Tool

Charting Data with a Creative Design

© David Borrink

Aug 11, 2008
Example E - Final Graphic with Design Enhancements, David Borrink
Graph information can be entered into Adobe Illustrator for creative graphic embellishments with a little understanding of how the Graph Tools work.

Editors' Choice

Though graphs and charts can be created in Microsoft Excel, the graphic capabilities of Adobe Illustrator give charts greater possibilities. Follow along to learn how to take data from an Excel spreadsheet and make a visually creative graph within Illustrator.

Bring the Data In

Use the Graph Tool and click in a document window, entering size dimensions manually (or click and draw a box of any size).

Example A shows what appears: a graph with a single bar and a value scale of 0 to 1. Note the graph data dialog below where only one cell has data in the speadsheet area. Add data in by entering in the entry field while a cell below is highlighted, or pasting data from a spread sheet by selecting the cell group within Excel and pasting it in the entry field in Illustrator. Click the last button to the right of the entry field (“Apply”).

Note the Import Data button to the right of the entry field. I’ve found that it doesn’t import data very well, cramming data from Excel into a single cell making it useless. I recommend pasting cell groups into the entry field.

Example B shows the results. The graph data is a grouped object and can be changed and replotted as long as it remains a group. Note the legend created for “Wins” and “Losses”. But there is some work to be done.

Fixing the Values and Categories

Our example correctly shows vertical bars with wins and losses for each season, but incorrectly show years as numerical data. The value scales reflect this error. Modify the year data in Illustrator’s spreadsheet cells so they work as categories. Place quotation marks around the years in the left column.

Example C shows this change made and applied. Years are listed below, and the value scales reflect the data represented.

Many Graph Options

Nine different graphing tools are available. A chart can be changed into other formats by using the Graph Type dialog box (Object > Graph > Graph Type). Change the graph type, styles and display options in this dialog.

Example D shows the bar graph changed to a line graph, the value axis scale appears only on the left, and data points are not shown.

Modifying and Adding Graph Graphics

Modify graph data elements like any Illustrator graphics. Remember, the graph is a group and modified items need to stay within that group if data needs to be changed and maintain graphic styles. Example E shows the final artwork in which fonts are changed, graph lines are changed to colors and thickened, and “tick” lines are extended across. New graphics are added, but remember that new elements are not part of the graph data group and will not change if graph data changes.

If data is added to a graph group, the graph will stay within the same area on the layout and include the new data within the space. Graphics may need to be altered to accommodate more or less information. Graphics outside the graph group will not be altered.

Use in Adobe, or in Office

When finished, the graph can be imported into graphics applications in most major graphics formats. Save the file as a JPG, GIF, or Windows Metafile format (WMF) to be brought into Microsoft Office applications.

Credit: Detroit Tiger season record stats in the examples were compiled from MLB.com.


The copyright of the article Using the Adobe Illustrator Graph Tool in Graphic Design Tutorials is owned by David Borrink. Permission to republish Using the Adobe Illustrator Graph Tool in print or online must be granted by the author in writing.


Example A - Graph Tool Default Display, David Borrink
Example B - Graph with Data Imported, David Borrink
Example C - Graph with Data Corrected, David Borrink
Example D - Graph Ready for Graphics, David Borrink
Example E - Final Graph with Design Enhancements, David Borrink


Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo

Comments
Aug 27, 2008 2:50 PM
Guest :
Why aren't error bars available...???
Aug 27, 2008 6:59 PM
David Borrink :
Error Bars are available in "true" spreadsheet programs like Excel, and within other statistical programs. The ability to plot the margin or error in a graph is not a feature that the Illustrator programmers decided to add.

If error bars are needed in an Illustrator graph, the best recommendation is to create the graph in a program that does allow error bars, and then use the results to create additional graphics outside the Illustrator graph group as mentioned above in Example E.

Sure, it's not going to be part of the spreadsheet cells, but the thing to remember is that Illustrator is not a powerful spreadsheet application. It's a graphic design program that has a graphing tool added on. So there are higher-end features that aren't going to be available.
Sep 16, 2008 11:08 AM
Guest :
Thanks a lot for this clear and illustrated demonstration.
I've been told that the Bank of England used Adobe illustrator for its "fan charts". Data are calculated in and pasted from Excel. I wonder which Graph Type is used to make a fan chart: lines + Draw filled lines option?
Thanks for answering. (examples of fan charts here : http://www.bankofengland.co.uk/publications/inflationreport/irfanch.htm)
Sep 16, 2008 5:24 PM
David Borrink :
Very interesting charts on the Bank of England site. Those fan charts appear to be using the Line Graph Type to plot the actual data, but their "fan" is a projection which appears to be a range of potential results (kind of like how the National Hurricane Center projects Hurricane paths with a wider area a few days out).

I would say that the fan projections are created by copying the line, pasting it in the background as a separate item free of the graph group, and then extending one copy upward and one copy downward, manually plotting the ranges. Since Illustrator doesn't allow "error" data for margins, it would have to be plotted by hand.

Then the upper and lower lines are set as filled lines, just like you said, in order to give each some surface area. The central line is darker, and the outer lines are lighter. Then use the blend tool to "fill in" the fan from an outer line, to the central line, to the other outer line. That will give a gradient.

That's my two cents of how it's done. (Or two pence, if you work for the Bank of England)
4 Comments