Product

Should you build or buy an in-app chart editor?

Most advice says: use a chart library and build a thin editor on top. Here's when that works, what it leaves out and when to embed or build instead.

8 min read

Featured image

Four chart controls with separate code layers float above a chart, beside a chart with the same controls fitted into its panel.

This week (23rd November 2026 to be precise) we asked ChatGPT, Gemini, Perplexity and Claude the same question five times each: should you build or buy an in-app chart editor?

Almost every answer they gave landed somewhere in the middle. The most common version was along the lines of: use a charting library to draw the chart, then build a thin editor on top that exposes the settings your users need.

At face value that's pretty good advice for a lot of products. But it also skips the two questions that actually determine whether it’s the right advice for your product:

1) what exactly are your users editing?

2) what happens after their first edit?

How you answer these questions should give you a pretty good steer on which direction to take.

In summary:


  • Build a thin editor on your chart library when you expect users to only change a handful of settings, such as the title, chart type and colours, and never need to touch the chart itself.

  • Embed a chart editor SDK when your users will expect to edit a chart the way they edit the rest of their document: click a part, change it, add a note, undo etc. Otherwise your team will likely end up needing to build and maintain that behaviour.

  • Build the whole editor yourself when the editing interaction is what customers pay for and no SDK supports it at a cost you can justify.

  • If people need to query data and assemble dashboards, you’re choosing embedded analytics. That’s a different decision with different vendors.

Is an in-app chart editor the same as embedded analytics?

It's worth getting this out of the way first. No, embedded analytics is not the same as in-app chart editing, though more than half the answers we collected during our prompting sessions used the terms interchangeably.

Embedded analytics answers “which data can this customer see, and how do they explore it?” A chart editor answers “how does this person change this chart in the thing they’re making?” A slide with a sales table, a report with a CSV attached, a story with a spreadsheet behind it: in each case the data is already there, but the end user wants a clearer title, a highlighted bar, a note on last March, or other changes that help the chart tell a clearer story.

Some products need both. If yours needs governed queries across a customer’s data, Cube and Embeddable each make the case for building the part users see and then buying the data layer underneath, and we recommend you check them out if that's the case. The rest of this guide sticks exclusively to chart editing.

Three things people mean by “chart editor”

The term "chart editor" covers a wide range of different features, and many build-or-buy disagreements are really disagreements about which features a team intends to ship.


What users need to do

Example

Usually needs

Change settings in a form beside the chart

Pick a chart type, rename the title, swap a colour

A saved configuration and a few controls

Build a chart from data

Choose columns, map them to axes, filter, group

Data binding, validation and sensible defaults

Edit the chart itself

Click a label to change it, drag a note onto a spike, undo the last three changes

Selection, editing commands, undo, saved state that reopens exactly

Spoiler: you can probably cover the first two rows of features above by building a thin editing layer on top of a charting library. The third row is where it starts to get more complicated…

When a thin editor can work

If your users mostly want the first row in the table above, building editor features yourself is often the right call. You keep the chart you’ve already tuned: the layout, the tooltips, the exports. You decide which settings to allow, and form or controls you build can match the rest of your product exactly.

Several of the answers that came up in our prompting made a point worth keeping whichever route you choose: look to save the chart’s configuration, not a picture of it. A saved configuration lets someone reopen the chart in the future and pick up their editing from where they left things. It also lets you change the form, or even the charting library, without breaking every chart your customers have made in your platform.

We tried this ourselves. We built the same report twice, with one version putting a form beside a Recharts chart and saving the title, chart type and colour. The other version used Graphy’s on-chart editing. Both work well in this simple scenario; try the Recharts experiment yourself and make the same edits to see how far a simple form can get you.


What a thin editor leaves out

Fewer than half of the answers from our prompts mentioned undo. That’s telling, because the work that grows after launch is mostly anchored in the behaviour around each edit, not just in the controls.

Once end users edit the chart itself, your team has to decide:


  • What a click selects. Is it the bar, the whole series or the axis label beside it? What happens on a second click?

  • How edits interact. Someone adds a note to a weekly spike, then switches the chart to monthly. Does the note stay with the event?

  • What Undo undoes. If the chart lives inside a document, does one Undo restore the chart and the note together, in the same history as the text around them?

  • How saved charts reopen. A report from six months ago has a setting your new version doesn’t expect. Does it still open as the author left it?

  • Whether the export matches the editor. The chart someone styled on screen should look the same in the PDF or the slide.

None of this is particularly exotic. But it’s just more than a settings form, and requires your team to start thinking about building UI and infrastructure around your charts. In fact we’ve written up five things a chart editor has to get right as a starting point, with examples you can try.

The story of Gamma, the presentation app, shows how long the work can potentially run when going down the build it yourself route. Co-founder and CPO Jon Noronha says the team spent more than two years building charts in-house before switching to Graphy’s SDK and Agents. Read Noronha’s account in more detail.

So, what can you buy?

When our AI assistants searched for products and libraries, they looked for named, documented editors. These are the ones that came up most often. We'd recommend checking each one’s current releases and licence terms for your own deployment before you commit.


Option

What it is

Check before choosing

Highcharts Editor

An editor for Highcharts charts that can be embedded or run on its own, with integrations for TinyMCE, CKEditor and WordPress. The editor is MIT-licensed.

It depends on Highcharts, which needs its own licence for commercial use. Its README describes the editor as beta and recommends the pre-built releases.

AnyChart Chart Editor

A chart generator and editor that AnyChart says can be embedded in web services. It needs the AnyChart library.

AnyChart’s docs say it is open source but subject to licensing. Confirm terms with AnyChart.

Plotly react-chart-editor

An MIT-licensed React editor panel for Plotly charts.

Its package declares support for plotly.js versions below 3. Check it against the version you use.

Graphy SDK

A React SDK for drawing charts and editing them in place, with an optional settings panel.

Whether its editing commands cover the changes your users need.

Embedded analytics platforms

Metabase, Looker, Embeddable and others.

Whether you need a query and dashboard layer at all.


If users need to click parts of the chart and change them in place, check whether each option supports that, and how it handles undo and reopening saved charts. Our shortlist of embeddable chart editors covers more options, including Datawrapper, Luzmo and Highcharts Dashboards.

In Graphy’s SDK, clicking a bar, axis or legend opens a menu for that part of the chart. The menus, the settings panel and your own controls all use the same editing commands, which share one undo history. After each edit, the SDK returns the updated chart settings as JSON for you to save with the document and load when it reopens. Your app still supplies the data, layout and storage. See how the embeddable editor works.

When to build the whole editor

There are some cases when building out the entire editing experience makes more sense. If chart editing is why customers choose your product, you probably want to decide every detail of the interaction: what a click selects, how a note snaps to a point, what happens when the data changes underneath it. A specialised infographics tool might sit here. So might a product whose data model is unusual enough that a general-purpose editor would fight it at every step.

You can still use a charting library to draw the chart. Building the editor means owning its behaviour, and that ownership is the point. Plan for it to be a product your team maintains, not a feature it finishes. Every new chart type, library upgrade and change to the surrounding document becomes your team’s work.

Decide with one chart and an afternoon

If you're still undecided about which route to take, we running a quick spike to help clear things up. Pick a chart type your users have asked to change. Write down five edits they'd want and what they expect to see after each one. Then, for each route you’re considering:


  1. Make the five edits in order.

  2. Undo two of them.

  3. Save, close and reopen the chart.

  4. Export it in whatever format your customers use.

Note what worked, what you’d have to build and what you couldn’t do at all. Rule out any route that can’t cover the edits people need.

For the routes that remain, estimate the work at your own team’s rates: to launch, then to keep running for six months. Count work every route needs, such as storage, permissions and export, once. Add licence fees from a quote for your deployment. Write down the route you chose, the trade-off that decided it and who will keep it working. Keep the chart and the five edits with the decision, so you can run the same test after each release.

So, should you build or buy?

To recap, a chart library with a thin editor on top can be the right call for a lot of products. It stops being right when users start editing the chart itself, because from then on your team has to own what a click selects, what Undo undoes and how a saved chart reopens. One chart, five edits and an afternoon will show you which side of that line you're on before you commit to a route.

If you're leaning towards a pre-built (but still highly customisable) editor, explore Graphy's SDK. See how the embeddable editor works.

Frequently asked questions

Is there a React chart library with a built-in chart editor?

Graphy’s SDK draws charts in React and includes in-place editing and an optional settings panel. Most popular React chart libraries, such as Recharts, draw charts and leave editing to you.

Can I add a chart editor on top of Recharts, ECharts or Plotly?

Yes, for settings. A form that changes the title, chart type, colours and similar options can sit beside any of them and save its configuration with your document. Plotly also has an open-source editor panel, react-chart-editor. On-chart editing, where people click parts of the chart and change them in place, means building selection, editing and undo yourself, or using a library that provides them.

How much does it cost to build an in-app chart editor?

It depends on which of the three kinds of editor you need and how long you’ll maintain it. Estimate it at your own team’s rates against one real chart and a fixed set of edits, including six months of maintenance after launch.

Should I save the chart as an image or as a configuration?

As a configuration. An image can’t be edited again. A saved configuration lets people reopen and change the chart, and lets you change your editor without breaking existing charts.


Image

WRITTEN BY

Nick Smith

Graphy team

Nick has 13+ years experience of wrestling with the challenge of how to make data clear and easy to understand. He writes about product, marketing, and all things product marketing.

get started

get started

Install and test it on your own machine.

Install the SDK and follow the docs to render your first chart. Get in touch when you're ready to use Graphy in production.

Install the SDK and follow the docs to render your first chart. Get in touch when you’re ready to use Graphy in production.

01 install

Add Graphy to your app

npm install @graphysdk/react

02 render

Render your first chart

<GraphProvider input={spec} data={data}>
  <GraphRenderer />
</GraphProvider>

03 go live

Use Graphy in production.

Tell us what you are building. We will help with the right licence, integration path and support.