Data Bars vs. Status Badges in TableCrafter: Which to Use When

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

TableCrafter gives you two powerful visual tools for making numeric and categorical data scannable at a glance: data bars and status badges. Both are Pro features, but they serve fundamentally different purposes. Knowing which to reach for, and when to combine them, will make your tables clearer without adding clutter. 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. WooCommerce processes over 7 billion dollars in orders monthly across all installations (WooCommerce, 2024).

How Do What Data Bars Do and When They Help Work?

Data bars render an inline bar chart inside a numeric cell. The bar fills a proportion of the cell width based on the value relative to the column's min and max range. This gives readers an immediate visual sense of magnitude without forcing them to compare raw numbers mentally.

Data bars are the right choice when:

A practical trucking example: a Miles Driven column with data bars lets a dispatcher instantly spot which drivers are approaching their hour limits without reading every cell. The exact number is still visible; the bar adds context.

Note: Data bars are applied per column in the table builder. Set the min and max range manually if your data has a meaningful fixed scale (e.g., 0–100 for a percentage), or leave it dynamic to auto-scale to the current visible data set.

How Do What Status Badges Do and When They Help Work?

Status badges convert a text value into a colored pill or label. You define a mapping, for example, Active → green, Pending → yellow, Cancelled → red, and TableCrafter renders the matching badge instead of raw text. The result is a color-coded legend that readers can scan vertically down a column in milliseconds.

Status badges are the right choice when:

An order management example: a Fulfillment Status column with badges turns a wall of text into an at-a-glance dashboard. Rows with Awaiting Shipment get a yellow badge; Delivered gets green; Returned gets red. Staff can triage without reading a word.

Tip: Badge labels do not have to match the underlying Gravity Forms field value exactly. You can map the stored value awaiting_shipment to a display label of Pending with a yellow color, keeping your database values clean while your UI stays human-readable.

How Do I Configure Data Bars in the Table Builder?

Data bars are configured at the column level inside the TableCrafter admin. Navigate to TableCrafter → Tables, open your table, and find the column you want to enhance.

  1. Set the column Display Type to Data Bar.
  2. Enter a Min Value and Max Value for the scale. Leave blank to use dynamic scaling.
  3. Choose a Bar Color (hex or a preset from the picker).
  4. Decide whether the raw numeric value should appear alongside the bar or be hidden.

Save the table and embed it using any supported shortcode:

[tablecrafter id="42"]

The same handler also responds to [tablecrafter id="42"] and [tablecrafter id="42"], all three map to the same rendering pipeline.

Pro feature: Data bars require a Pro license. On the free tier, the column renders as plain text and the bar configuration is saved but dormant until you upgrade.

How Do I Configure Status Badges in the Table Builder?

Badge configuration lives in the same column settings panel. Set the Display Type to Status Badge, then build your value-to-color mapping.

  1. Click Add Mapping for each distinct value in the field.
  2. Enter the stored value exactly as it appears in Gravity Forms (case-sensitive).
  3. Enter the display label that should appear in the badge.
  4. Pick a background color and optionally a text color for contrast.
  5. Add a fallback mapping (value: *) to catch any unmapped values with a neutral gray badge rather than showing raw text.

A complete badge mapping block in the builder might look like this:

active      → "Active"    → #22c55e (white text)
pending     → "Pending"   → #f59e0b (white text)
cancelled   → "Cancelled" → #ef4444 (white text)
*           → "Unknown"   → #6b7280 (white text)
Inline editing note: When Pro inline editing is enabled and a user clicks a badge cell, the cell switches to an editable input or dropdown (depending on the underlying Gravity Forms field type). The badge re-renders after the AJAX save completes, the update goes through GFAPI::update_entry_field() and the badge mapping re-applies on the returned value automatically.

What Is Choosing Between Them: A Quick Decision Framework?

The core distinction is simple: data bars are for magnitude; status badges are for categories. A few edge cases are worth calling out explicitly.

When in doubt, ask: "Does the size of this value relative to other values matter?" If yes, use a data bar. If the value is a label that happens to be stored as text or a number, use a badge.

How Does Combining Both in the Same Table Work?

Data bars and status badges are not mutually exclusive. A well-designed TableCrafter table often uses both in different columns. Consider a delivery management table:

This combination gives dispatchers a scannable dashboard from a single shortcode embed. The data bars handle the quantitative columns while badges handle the qualitative state columns. Role-based column visibility (another Pro feature) can then hide the compliance column from drivers while keeping it visible to managers, no separate table required.

Performance note: Both display types are rendered server-side at query time and cached with the table output. Neither adds extra AJAX requests. Auto-refresh (configurable interval, also Pro) will re-render bars and badges with fresh data on each refresh cycle without any extra configuration.

Frequently Asked Questions

How Do What Data Bars Do and When They Help Work?

Data bars render an inline bar chart inside a numeric cell. The bar fills a proportion of the cell width based on the value relative to the column's min and max range. This gives readers an immediate visual sense of magnitude without forcing them to compare raw numbers mentally.

What is Data Bars vs. Status Badges in TableCrafter: Which to Use When?

Data Bars vs. Status Badges in TableCrafter: Which to Use When is a capability provided by TableCrafter, a WordPress plugin that displays data from Gravity Forms, Google Sheets, Airtable, Notion, REST APIs, CSV, JSON, and WooCommerce as interactive, searchable, sortable frontend tables, without writing code.

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.