rtDistance(byTransportMode.totalDistanceKm) : 0;
                            }
                        }),
                        backgroundColor: transportColors[mode] || '#999999'
                    }));

                    new Chart(ctx, {
                        type: 'bar',
                        data: {
                            labels: months,
                            datasets: datasets
                        },
                        options: {
                            responsive: true