Skip to content

bergtop/indesign-chart-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š InDesign ChartMaker

Create charts and graphs directly inside Adobe InDesign β€” no Illustrator round-trip needed.

ChartMaker is a single ExtendScript (.jsx) file that generates fully native InDesign vector charts from tabular data. Every element it creates β€” bars, curves, areas, labels, axes β€” is a standard InDesign object you can ungroup and restyle with your document's swatches, paragraph styles, and fonts.


Why?

If you produce data-driven reports in InDesign, you've probably been through this loop:

  1. Build a chart in Excel or Google Sheets
  2. Recreate it in Illustrator so it looks right
  3. Place it in InDesign
  4. Manually adjust colors, fonts, and spacing to match the layout

ChartMaker skips steps 1–3. Paste your numbers, pick a chart type, and get native objects on your page.


Chart Types

Type Description
Bar Chart Grouped vertical bars, multiple series side by side
Stacked Bar Chart Series stacked within each category
Pie Chart Wedges with percentage labels
Scatter Plot X/Y point cloud from two data series
Line Chart Smooth BΓ©zier curves through data points
Area Chart Stacked filled areas with smooth edges
Range Bar Floating min–max bars (e.g. daily high/low)

Installation

  1. Download InDesign_ChartMaker_v2.jsx
  2. Place it in your InDesign Scripts folder:
    • Window β†’ Utilities β†’ Scripts
    • Right-click the User folder β†’ Reveal in Finder / Explorer
    • Drop the .jsx file in there
  3. It will appear in your Scripts panel β€” double-click to run

No plugin installation, no extensions, no admin privileges required.


Usage

  1. Open any InDesign document
  2. Double-click the script in the Scripts panel
  3. Paste tab-separated data into the text field (copy straight from Excel or Google Sheets)
  4. Choose your chart type, size, palette, and options
  5. Click Create Chart

The chart appears centered on the active page as a grouped set of native objects.

Data Format

Standard rows-and-columns, tab-separated. First row = series names, first column = row labels:

	Q1	Q2	Q3	Q4
Revenue	120	150	180	210
Costs	80	95	110	130
Profit	40	55	70	80

For Range Bar, provide exactly two series (Low and High):

	Low	High
1 FEB	150	240
7 FEB	80	200
14 FEB	130	310
21 FEB	160	230

Options

  • Width / Height β€” Chart dimensions in millimeters
  • Line weight β€” Stroke weight for line and area chart curves (in points)
  • Color palette β€” 6 built-in CMYK palettes:
    • Corporate Blue
    • Warm Tones
    • Cool Greens
    • Monochrome
    • Vibrant Mix
    • Editorial Pastels
  • Show values β€” Display data values on the chart
  • Legend β€” Auto-generated legend
  • Grid β€” Background gridlines
  • Data points β€” Show dots at each data point (for line charts)

After Creation

Everything is a native InDesign object. You can:

  • Ungroup and select individual bars, lines, labels, or areas
  • Restyle with your document's color swatches and paragraph styles
  • Resize or reposition any element
  • Change fonts on all labels at once via Find/Change
  • Apply effects like drop shadows, transparency, or corner options
  • Copy elements between documents

Compatibility

  • Adobe InDesign CC 2020 and newer (tested through 2026)
  • Works on macOS and Windows
  • ExtendScript-based β€” no UXP dependency, no internet connection needed

Limitations

  • Charts are static β€” editing data requires re-running the script
  • No automatic chart title (add your own text frame)
  • Smooth curves use Catmull-Rom interpolation, which may overshoot on highly irregular data
  • Pie chart labels may overlap with many small slices

License

MIT β€” use it however you want.


Contributing

Issues and pull requests welcome. If you'd like to add a chart type (donut, horizontal bar, waterfall, etc.), the codebase is structured around a simple drawing-primitives layer that makes it straightforward to add new types.

About

Indesign Chart Maker Pluging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors