Explore, Filter, and Customize Your Data Without Leaving the Chart

When you're working with real data — not a tidy demo dataset, but hundreds of variables, messy annotations, and a dashboard full of charts — the visualization itself is only half the job. You also need to inspect the underlying records, slice them down to what matters, and tune how everything looks, all without jumping between five different tools. CanvasXpress bakes that workflow directly into every chart it renders.

Every CanvasXpress chart ships with three built-in companions, available right from the chart's own toolbar:

None of these require a separate library, a different canvas, or custom glue code. They're part of the same CanvasXpress instance you already constructed, and they stay in sync with whatever the chart is currently showing.

Why this matters

Most charting libraries treat "look at my data as a table" or "filter my data interactively" as a problem you solve yourself — wire up a grid component, write filter logic, keep it in sync with the chart's selection state. CanvasXpress closes that gap. Because the table, filter panel, and customizer are first-class citizens of the chart object itself, they automatically reflect:

That tight coupling is what makes the experience feel instant. Click a row in the data table, and the corresponding point highlights in the chart. Apply a filter in the Explore panel, and the chart redraws with only the selected samples. Adjust a color in the Customizer, and the chart repaints immediately — no reload, no re-fetch.

Getting started

A standard chart construction already gives you access to all three widgets through the toolbar — there's no special flag to turn them on:

var cx = new CanvasXpress(
  "myChart",
  {
    y: {
      data: [[10, 20], [15, 25], [30, 10]],
      vars: ["gene1", "gene2", "gene3"],
      smps: ["sample1", "sample2"]
    }
  },
  {
    graphType: "Bar"
  }
);

Once rendered, the toolbar exposes buttons for the table view, the data filter panel, and the customizer dialog. Each one opens as an overlay tied to this same chart instance — resize or update the chart, and all three stay synchronized.

If you need to update the underlying dataset or configuration programmatically (for example, after a new query returns fresh rows), the same instance methods you already use for the chart apply uniformly — the table and filter panel pick up the change automatically:

cx.updateData(newData, true);     // table and filters now reflect newData
cx.updateConfig({ graphType: "Scatter2D" }, true);
cx.setDimensions(800, 500);
var currentConfig = cx.getConfig();

Saving your work, and bringing it back

Because the table, filter state, and styling are all part of the chart's live configuration, they travel with it when you save. From the chart's File menu, Save as JSON (or Save Current as JSON, depending on context) serializes the entire chart — data, configuration, current filters, and customizations included — into a single file you can hand off, store, or load elsewhere.

Reloading is just as simple: drag that saved .json file onto the chart's container, and CanvasXpress rebuilds the chart exactly as it was, filters and all. There's no manual re-wiring of table state or re-applying of custom colors — it's all captured in the one file.

For situations where you want to see how a chart was built, step by step — useful when sharing an analysis with a colleague or debugging an unexpected result — the toolbar's Reproduce action replays the chart's construction sequence in front of you, rendering each step as it would have happened originally.

A consistent mental model

The real benefit here isn't any single widget — it's that CanvasXpress treats "view the data," "filter the data," and "style the view" as native extensions of the chart object you already have, rather than bolt-on tools you have to integrate yourself. You build one CanvasXpress instance, and you get:

For teams building internal dashboards or embedding CanvasXpress into a larger application, this means less code to glue components together and fewer edge cases where "the table shows something different than the chart." The chart is the source of truth, and the surrounding widgets simply give you more ways to look at and shape that same truth.

If you're evaluating CanvasXpress for a data-heavy application, it's worth spending five minutes just clicking through the Table, Explore, and Customize buttons on any of the example charts — before writing a line of integration code, you'll already have a sortable grid, a filter UI, and a style editor for free.