Chart Builder - Data Visualization
Create your first chart in under a minute:
The Chart Builder is a powerful visualization tool that transforms MongoDB query results or aggregation pipeline outputs into interactive charts. Whether you're analyzing sales trends, monitoring metrics, exploring geographic data, or building business dashboards, the Chart Builder provides an intuitive interface to create professional visualizations without writing code.
The Chart Builder supports a comprehensive range of visualization types, organized into four categories. Each chart type is optimized for different kinds of data and analysis scenarios.
Fundamental chart types for common data visualization needs:
Sophisticated visualizations for complex data analysis:
Specialized charts for temporal data and financial analysis:
Map-based visualizations for location data:
Charts are created from data sources - either query results or aggregation pipeline outputs. The Chart Builder provides multiple ways to access and configure your data.
There are two main ways to open the Chart Builder:
The chart type selector in the left panel displays all available visualization types. Click the dropdown to browse chart types, organized by category. Each type shows an icon and name to help you quickly identify the right visualization for your data.
The Chart Builder intelligently analyzes your actual data values to accurately detect field types:
The type detection examines your actual query results to ensure accurate field classification. If a field's type cannot be determined from the data, the system falls back to intelligent name-based heuristics (e.g., fields named "count", "total", or "amount" are assumed numeric). This two-layer approach ensures reliable auto-mapping even with diverse data schemas.
Field mapping connects your MongoDB data fields to chart dimensions like axes, values, and categories. Different chart types require different field mappings based on their structure.
Click the "Auto Detect" button to let the Chart Builder intelligently map your fields. The auto-detection algorithm:
The data mapper panel displays each field with a color-coded type badge indicating its detected type:
| Field | Description | Typical Data Type |
|---|---|---|
X-Axis |
Categories or time periods | String, Date |
Y-Axis |
Numeric values to measure | Numeric |
Series |
Field to split data into multiple series (optional) | String |
| Field | Description | Typical Data Type |
|---|---|---|
Category |
Labels for each pie slice | String |
Value |
Numeric value determining slice size | Numeric |
| Field | Description | Typical Data Type |
|---|---|---|
X-Axis |
First numeric variable | Numeric |
Y-Axis |
Second numeric variable | Numeric |
Size |
Bubble size (bubble charts only) | Numeric |
| Field | Description | Typical Data Type |
|---|---|---|
X-Axis |
Horizontal dimension (e.g., time, hour) | String, Date |
Y-Axis |
Vertical dimension (e.g., day, category) | String, Date |
Value |
Intensity value represented by color | Numeric |
| Field | Description | Typical Data Type |
|---|---|---|
Latitude |
Latitude coordinate | Numeric |
Longitude |
Longitude coordinate | Numeric |
Geo Region |
Map region (world, usa, china, etc.) | Selection |
Value |
Value for point size or color intensity (optional) | Numeric |
| Field | Description | Typical Data Type |
|---|---|---|
Time |
Time period for each candlestick | Date |
Open |
Opening value | Numeric |
High |
Highest value | Numeric |
Low |
Lowest value | Numeric |
Close |
Closing value | Numeric |
| Field | Description | Typical Data Type |
|---|---|---|
Source |
Starting point of flow | String |
Target |
Ending point of flow | String |
Value |
Flow quantity or weight | Numeric |
To manually configure field mappings, use the dropdowns in the data mapper panel. Each dropdown shows the available fields from your data. As you change mappings, the chart preview updates in real-time to reflect your selections.
The configuration panel on the right side provides extensive options to customize your chart's appearance and behavior.
| Setting | Description | Default |
|---|---|---|
Chart Title |
Name of the chart for workspace organization | Untitled Chart |
Description |
Optional description of what the chart shows | Empty |
Folder Path |
Organization path (e.g., "reports/sales" or "analytics/metrics") | Root folder |
Data Limit |
Maximum number of documents to fetch for the chart | 1000 |
Customize how your chart appears by adding custom labels and titles. These labels are displayed in the rendered chart visualization.
| Label | Description | Default |
|---|---|---|
Chart Title |
Main title displayed at the top of the chart | None |
Subtitle |
Additional context below the main title | None |
X-Axis Label |
Label for horizontal axis | Field name |
Y-Axis Label |
Label for vertical axis | Field name |
Legend Label |
Custom label for chart legend | None |
Tip: Leave axis labels empty to automatically use the field names from your data. Add custom labels when you want more descriptive or user-friendly text in your charts.
Charts are powered by either a query or an aggregation pipeline. You can modify the underlying data source directly from the Chart Builder without leaving the interface.
Click the "Edit Query" button to open a Collection Activity where you can:
When you're done editing, the Chart Builder automatically refreshes with the updated data.
Click the "Edit Aggregation" button to open an Aggregation Activity where you can:
Changes to the aggregation pipeline immediately affect the chart's data source.
Once you've created and configured your chart, save it to your workspace for future access and reuse. Saved charts can be organized, edited, and integrated into dashboards.
When you open a saved chart and make changes:
Use folder paths to organize charts hierarchically:
reports/sales/monthlyWhen using geographic charts (Geo Map, Geo Scatter, Geo Heatmap), you can select different map regions to focus your visualization:
The Chart Builder provides instant visual feedback:
The data limit setting controls how many documents are fetched for visualization:
Download and start managing your MongoDB databases with ease.
Download Free Trial