Collections: add chart views
What went wrong?
Table, list, Kanban, and gallery views provide different ways to display the items in a collection.
I would also like chart and statistics views to analyze their distribution, compare values or track changes over time.
Here are some practical use cases.
1. Tracking a renovation budget
I have a collection of purchases and invoices with properties including:
- Category: electrical work, insulation, plumbing, decoration…
- Estimated cost.
- Actual cost.
- Date.
- Payment status.
I would like to display:
- Spending by category, as a bar or donut chart, showing the amount and percentage for each category.
- Estimated versus actual costs by category, with two bars side by side.
- Monthly spending, optionally as a cumulative total.
- Summary indicators: total estimated cost, total actual cost, and the difference between them.
This would help quickly identify the main spending categories and budget overruns.
2. Visualizing workload
For a collection of tasks or actions with a scheduled date, a category, and optionally an estimated duration:
- Display the number of actions scheduled per day, week, or month.
- Break these actions down by category, project, or status.
- Display the total estimated duration per period, when such a property exists.
- Display the number of actions for each category or person, broken down by status: closed, in progress, etc.
There are many useful indicators for project management. These could help identify busy periods in a forward-looking schedule and balance the workload, track project progress, or spot imbalances in how work is being handled.
Fortunately, my AnySay collection does not really require this level of management, but having a few visual indicators would still be interesting and motivating.
Here, an exemple with bar charts by work type, grouped/aggregated by status (completed, in progress, etc.) :

3. Tracking sports activity
For a collection of sessions with a date, sport, duration, and distance—for cycling sessions, for example:
- Number of sessions per week.
- Total distance or duration per month.
- Breakdown by sport.
- Trends over time, optionally with a target line.
This would help check whether goals are being met, maintain a balanced routine, and stay motivated!
What should happen?
Add a “Chart / Statistics” view type to the collection view selector.
Display types
The main useful display types would be:
- Vertical or horizontal bar charts, with simple, grouped, or stacked bars.
- Line charts to track changes over time.
- Pie or donut charts to show distributions.
- Number indicators to display a summary value: number of open tickets, amount spent, total duration…
Choosing data and calculations
The configuration would let users choose:
SettingExamplesGroup byCategory, status, project, date…MeasureNumber of items or the value of a numerical propertyCalculateSum, average, minimum, maximumOptionally break groups down furtherNumber of tasks per week, with a different color for each categoryCompare multiple measuresTotal estimated costs and total actual costs
Comparing multiple numerical properties is important, particularly for displaying estimated and actual values side by side on the same chart.
For percentage indicators, it should be clear what is being compared. For example: the number of completed tasks divided by the total number of tasks matching the filters.
For time-based charts:
- Choose which date property to use.
- Group by day, week, month, quarter, or year.
- Select a fixed or dynamic date range: this month, the last twelve weeks, the next thirty days…
- Allow periods without activity to be displayed as zero.
- Offer a cumulative display where it makes sense.
- Respect the user’s timezone and preferred first day of the week.
Existing filtering options should remain available, particularly to:
- Display only open tickets.
- Display actions assigned to the current user.
- Limit results to a project or date range.
Other options should include:
- Sorting categories by name, value, or the order defined in the property; or sorting time periods chronologically.
- Showing or hiding items whose grouping property is empty.
- Choosing colors, or selecting from a few color palettes. At least one severity palette should be available, ranging from green to orange to red.
- Choosing whether to display values, percentages, totals, and the legend.
Where possible, charts should be interactive:
- Show values on hover: for example, in a chart showing tickets by category and broken down by status, hovering over the “Electrical work” bar would display that category’s breakdown.
- Click an element to see the corresponding data: clicking the “Electrical work” bar would open a filtered view showing all the corresponding pages.
Using charts in dashboards
When inline views become available, these charts and indicators should also be displayable within pages.
This is where the feature would become especially powerful: we could build dashboards by placing several statistical views on the same page! Chart views should therefore be as easy as possible to reuse and embed.
A single page could bring together:
- Total spending and its breakdown.
- Estimated versus actual budget.
- Open tickets by category.
- Expected workload for the coming weeks.
I expect that the future inline views will need additional improvement requests—for example, a compact “widget” display without the visual overhead of the full view or collection interface.
1 Comment
Sign in to comment

This is fantastic and well explained, I love it!