How to Use Data Bars to Visualize Survey Scores in WordPress

Updated July 2026 • 6 min read • By Fahad Murtaza • By Fahad Murtaza

TableCrafter table builder, connect Gravity Forms, Google Sheets, Airtable, CSV, or JSON data sources
TableCrafter table builder, connect Gravity Forms, Google Sheets, Airtable, CSV, or JSON data sources

Survey data locked in a Gravity Forms spreadsheet tells only half the story. TableCrafter's data bars feature renders inline bar charts directly inside numeric table cells, turning raw scores into instant visual comparisons without touching a charting library or writing a line of code. If you collect NPS scores, satisfaction ratings, or any 0–100 numeric scale through Gravity Forms, this guide shows you exactly how to set it up. WordPress powers 43% of all websites globally (W3Techs, July 2026), and TableCrafter bridges the gap between the data you collect and the tables your users need to see, no custom PHP, no dashboard access required for viewers. The free version on WordPress.org supports CSV, JSON, Google Sheets, and Excel. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST APIs, inline cell editing, export to CSV/PDF, role-based column visibility, and auto-refresh. Every table embeds on any page with a [tablecrafter] shortcode or the native Gutenberg block. Notion databases support up to 10,000 rows per database on free plans (Notion documentation, 2025).

What Are Data Bars and Why Use Them for Survey Scores?

A data bar is a horizontal bar rendered inside a table cell, scaled relative to a minimum and maximum value you define. Unlike a separate chart widget that sits outside your table, data bars live in-cell alongside the numeric value itself. The bar grows or shrinks proportionally as the underlying Gravity Forms entry value changes, giving viewers an at-a-glance ranking across every row simultaneously.

For survey scores this is particularly useful. When you have fifty respondents and a column of numbers between 1 and 10, a human eye cannot rank them at a glance. With data bars, the highest-scoring respondents rise visually to the top even before anyone sorts the column. Common use cases include:

Pro feature: Data bars are part of the Pro tier. The free tier displays numeric columns as plain text. All other steps in this guide, creating a table, connecting a form, choosing columns, are available on Free.

Step 1: How Do I Build Your Survey Table in TableCrafter?

Before you can enable data bars you need a table connected to the Gravity Forms survey form. Open your WordPress admin and navigate to TableCrafter → Tables → Add New. The table builder opens with a tabbed configuration panel on the left and a live preview on the right.

  1. In the Data Source tab, select Gravity Forms and choose the form that contains your survey responses.
  2. Switch to the Columns tab. TableCrafter loads all available form fields as potential columns. Enable the fields you want to display: respondent name, submission date, and the numeric score field(s).
  3. For each numeric score column, set the Column Type to Number. This tells the renderer the cell contains a scalar value, which is a prerequisite for data bars.
  4. Save the table. TableCrafter stores the configuration and assigns a numeric table ID visible in the URL (e.g., post=42). Note this ID.

Place the table on any page or post using one of the equivalent shortcodes:

[tablecrafter id="42"]
[tablecrafter id="42"]
[tablecrafter id="42"]
Note: All three shortcode aliases map to the same handler. Use whichever feels natural; [tablecrafter id="X"] is the canonical form going forward as the plugin has been rebranded from Gravity Tables.

Step 2: How Do I Enable Data Bars on a Numeric Column?

With the table saved and displaying data, return to the table builder (TableCrafter → Tables, click Edit on your table). Click the column you want to visualize, the score column, to expand its settings panel.

Scroll to the Display section within that column's settings. You will find a Data Bars toggle. Enable it. Three additional fields appear:

Save the table. The live preview in the builder will immediately render the bars inside each cell, scaled between your min and max values.

Tip: If your survey form uses a Gravity Forms Rating field that stores values as integers, make sure the column type is set to Number rather than Text. Data bars silently do nothing on text-typed columns even if the cell content looks numeric.

Step 3: How Do I Combine Data Bars with Sorting and Filters?

Data bars become even more powerful when paired with TableCrafter's built-in sort and filter controls, both available to Free tier users for basic functionality and extended on Pro.

Because sorting is column-based, clicking the score column header instantly reorders all rows from lowest to highest (or highest to lowest) while the bars redraw in their new positions. Viewers can immediately identify your top and bottom performers without any additional configuration.

On the Pro tier, advanced filters let you scope the visible rows before the bars render. For example, you could add a filter on a "Department" column to show only responses from the engineering team, and the data bars will rescale visually within that subset. The min/max values you configured remain fixed anchors, so a score of 7 always renders at the same bar width regardless of filtering, preserving a consistent reference frame across different views.

[tablecrafter id="42" default_sort="score_column" default_order="desc"]
Pro tip: Use the default_sort and default_order shortcode attributes to pre-sort on your score column so the highest-scoring respondents always appear first when the page loads.

Step 4: How Do I Control Who Sees the Data with Role-Based Permissions?

Survey data is often sensitive. TableCrafter's Pro role-based permissions let you restrict both table-level access and individual column visibility by WordPress user role.

In the table builder, open the Permissions tab. You can set:

This means you can embed the same [tablecrafter id="42"] shortcode on a single page and serve different views to different logged-in users, the data bars render only for roles that have visibility on the numeric column.

Heads up: Permissions are enforced server-side on every AJAX call to wp-admin/admin-ajax.php. TableCrafter validates the nonce and checks WordPress capabilities before returning any row data, so column hiding is not just CSS, it is enforced at the data layer.

Step 5: How Do I Export Results with Data Intact?

When you need to share survey results outside WordPress, TableCrafter's Pro export feature lets you download the table as CSV, Excel, or PDF directly from the frontend table toolbar. The exported file preserves the raw numeric values in the score column, the visual bar is a display-layer overlay and does not alter the underlying data.

For recurring reports, pair the export with Pro email alerts. Configure an alert to fire whenever a new Gravity Forms entry is submitted to your survey form. TableCrafter will email a designated address (or list of addresses) with a notification, letting stakeholders know new responses have arrived without them needing to log into WordPress.

If you want the displayed table to always reflect the latest submissions without a page reload, enable the Auto-Refresh option in the table settings and configure an interval in seconds. The table will re-query Gravity Forms data via AJAX on that schedule, and data bars will update live as new scores arrive.

How Does Troubleshooting Common Data Bar Issues Work?

If your data bars are not appearing after following the steps above, work through this checklist:

Still stuck? TableCrafter's AJAX responses include a debug key when WP_DEBUG is enabled in wp-config.php. Open your browser's Network tab, trigger a table load, and inspect the JSON response from admin-ajax.php for column-level rendering flags.

Frequently Asked Questions

What Are Data Bars and Why Use Them for Survey Scores?

A data bar is a horizontal bar rendered inside a table cell, scaled relative to a minimum and maximum value you define. Unlike a separate chart widget that sits outside your table, data bars live in-cell alongside the numeric value itself. The bar grows or shrinks proportionally as the underlying Gravity Forms entry value changes, giving viewers an at-a-glance ranking across every row simultaneous

What Is TableCrafter?

TableCrafter is a WordPress plugin that turns data from Gravity Forms, Google Sheets, Airtable, Notion, REST APIs, CSV files, and WooCommerce into interactive, sortable, filterable frontend tables. Embed any table on any WordPress page with the [tablecrafter] shortcode or the native Gutenberg block. No PHP or custom development required. The free version supports CSV, JSON, Google Sheets, and Excel. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST APIs, inline cell editing, export to CSV and PDF, role-based column visibility, and auto-refresh.

Does this require PHP or developer skills?

No. TableCrafter is configured entirely through the WordPress admin interface. You choose your data source, map fields to columns, and set display preferences using point-and-click controls. Embedding uses the [tablecrafter] shortcode or the native Gutenberg block.

Is the free version sufficient or do I need Pro?

The free plugin on WordPress.org supports CSV, JSON, Google Sheets, and Excel sources with unlimited tables, rows, and columns. Pro adds Gravity Forms, Airtable, Notion, WooCommerce, REST API sources, inline cell editing, bulk row actions, export to CSV and PDF, role-based column visibility, and auto-refresh every N seconds.

Ready to try it?

TableCrafter is free on WordPress.org. Pro unlocks inline editing, role-based permissions, and advanced data sources.