Creating Charts
How to create a chart on a dashboard, set up its series, variables, and aggregation, and edit, view, or copy it afterward.
Chart Types
There are five chart types: Bar, Line, Pie, Doughnut, and Scatter. Which ones you can pick depends on the variables in the first series. A variable is either a category (labels, such as text, a choice, or a relationship, or a date) or a number:
- One category: Bar, Pie, or Doughnut.
- A category and a number: Bar, Pie, or Doughnut. Line is also offered, but it only works when the category is ordered, such as a date.
- Two numbers: Scatter or Line.
- One number alone, or two categories: no type fits. Add or change a variable.
Types that don't fit are turned off. Every series in a chart uses the first series' type. Each variable's scale badge (Nominal, Ordinal, Discrete, or Continuous) shows how Cnidarity reads it, and you can change it; see Configuring Series below.
Creating a Chart
You create charts on a dashboard, so you need one first. Creating charts needs a paid tier and the Editor (Admin) or Editor role (Roles and Permissions). Free projects can't create charts.
1. Open a dashboard you own, or any dashboard if you're an Editor (Admin) member. If you don't have one, create one on a data model's records page: click the + next to the tabs and choose New Dashboard (Dashboards).
2. Click the Dashboard Settings icon at the top right of the dashboard, then Add Widget. On a dashboard with no widgets, click Add your first widget instead.
3. If the project already has widgets, click Create New Widget.
4. Choose Chart.
5. Enter a Title and, if you like, a Description. Under Visibility, choose Private or Public. The chart gets the same visibility.
6. Set up the series (below) and check the Preview panel.
7. Click Add Widget.
The chart is saved, placed on the dashboard, and listed in the Analytics Hub. There's no other way to create a chart. For more on the wizard, see Widgets.
Configuring Series
A series is one set of data on the chart. A chart can have up to 10. Add one with + Add Series. Each series has four parts:
1. Data Source: choose Data Model and a data model, or Dataset and a saved dataset. The fields you pick from are listed as Data Model Fields.
2. Add Variables: pick one or two fields, or dataset columns.
3. Chart Type: pick a type. From the second series on, it shows (locked by first series).
4. Configuration: choose the Aggregation, a Series Label for the legend, and a Color. If either variable could fill a role, also choose which is the Category and which is the Value (bar, pie, doughnut), or which is the X Variable and Y Variable (line, scatter).
Bar, pie, and doughnut charts can color by Auto-shade or Custom per value. Line and scatter charts have Show Points and Fill Area. Bar, line, and scatter charts have X Label and Y Label, filled in from your variables.
Scales: each variable has a scale badge. Click it to change the scale. The scale decides which chart types and roles are available.
- Nominal: unordered categories. Text and choice fields and relationships start here.
- Ordinal: ordered categories. Dates start here.
- Discrete: whole numbers. Number fields with a whole-number step start here.
- Continuous: all other numbers.
Record limit: each series reads at most 1,000 records, and the wizard preview reads 500. Anything past the limit is left out of the chart, and the chart doesn't show that anything is missing. Which records are read:
- From a data model: up to 1,000 of its records, in no fixed order. You can't choose which ones.
- From a dataset: the first 1,000 rows, in the order set by the dataset's Sort steps. Without a Sort step, the order isn't fixed.
A chart made directly from a data model with more than 1,000 records is incomplete. For larger data, chart a dataset with an Aggregate step that groups the rows first, so the series reads one row per group (Data Pipelines).
chart-series-editorThe chart editor in the Analytics Hub for Specimens by Country, with two series tabs and + Add Series at the top, sections 1. Data Source to 4. Configuration on the left, and the bar chart on the right
Series tabs and + Add Series are at the top. Each series is set up in four numbered parts.
Aggregation Types
The Aggregation menu sets how records with the same category or X value are combined. The choices depend on how many variables the series has:
- One variable: the menu lists Count, Sum, Mean (Average), Median, Minimum, and Maximum, or only Count and Sum for pie and doughnut charts. With one variable, the chart always counts the records in each category, so use Count. In the Add Widget wizard, the Add Widget button stays turned off until you choose Count. The Analytics Hub editor lets you save another choice, but the chart still shows counts.
- Two variables: None (direct value), Sum, Mean (Average), Median, Minimum, Maximum. These combine the number variable for each category. For example, Country as the Category and Elevation (m) as the Value with Mean (Average) plots each country's mean elevation. None (direct value) plots each record's value without combining them.
Calculated Values
Charts have no formula editor. To chart a calculated value, add a Calculation transform to a dataset (Data Pipelines). Then choose Dataset as the series' data source. The calculated column is listed with the dataset's other columns.
Preview and Editing
In the wizard, the Preview panel shows sample data until every series has a data source and enough variables. Then it shows your project's data.
To change a chart later, open it in the Analytics Hub and click Toggle Editor (Data Pipelines describes the hub). The preview there shows the saved chart and updates after you click Save Changes. Change the title or description with Edit Title / Description. You can edit a chart you created; Editor (Admin) members can edit any chart.
Charts built on a data model update when its records change.
Full-Screen View
In the Analytics Hub, Open Full Screen opens the chart in a new browser tab, with its title and description above it. Nothing on this page can be edited.
chart-full-screenThe full-screen page for the Specimens by Country bar chart, with the title and description at the top and the chart below
The full-screen page shows the title and description above the chart.
Duplicating Charts
Charts have no Duplicate button. A copy is made in one case: on a dashboard you own, open the menu on a chart widget another member created and choose Edit Widget. Click Duplicate & Edit to make a private copy of the chart, with all its series and (copy) after its name. The copy replaces the original in that widget, and the original isn't changed. Editor (Admin) members edit the original instead. See Widgets.

