Chart the Results¶
Turn a result into a bar, line, or scatter chart without leaving the workspace. The chart uses the rows loaded so far, so it never runs the query again.
Related
- Concept: Charts for how rows are grouped, the defaults, and what the download holds.
- Apply a Proposed Chart to let the Explore Assistant set the chart for you.
- Download Results for the rows themselves.
Step 1: Run a query that returns rows.
Step 2: Click Chart in the results bar. The chart opens with settings picked for the result, and its settings panel sits beside it. On a narrow results card, click Chart settings above the chart to open the settings.
Step 3: Under Chart type, click bar , line , or scatter . scatter shows only when the result has at least two number columns.
Step 4: Under X axis, pick the column for the horizontal axis. When it is a date, pick the span to group by: by day, by week, by month, by quarter, or by year.
Step 5: Under Y axis, pick a number column, then pick how rows with the same X value combine: sum, average, min, max, count, or count distinct. On a scatter, pick the second number column instead.
Step 6: Under Sort, pick the order, for example region, A to Z or Sum of amount, high to low. A scatter has no sort.
Step 7: To save the chart, click Download the chart in the results bar, then Chart, as PNG or Report, as PDF .
Rows the chart uses
When more rows are left to load, the settings panel says how many rows the chart holds. Click Load more to read the next 1,000 rows, or Load all to read up to 50,000. A bar chart with more than 20 values keeps the top 19 and folds the rest into Other.
Ask for a chart
When AgentQ is set up for your organization with a data level above Nothing about your data, and on screens wide enough to dock the Explore Assistant, Suggest a chart next to Chart type asks the Explore Assistant for a chart that fits the result.