forked from Ruderverein-Donau-Linz/rowt
fake personal history
This commit is contained in:
@ -43,10 +43,11 @@ import * as d3 from "https://cdn.jsdelivr.net/npm/d3@7/+esm";
|
||||
|
||||
|
||||
const data = [
|
||||
{ date: '2023-01-01', km: 5 },
|
||||
{ date: '2023-02-01', km: 24 },
|
||||
{ date: '2023-08-30', km: 1340 },
|
||||
{%- for p in personal %}
|
||||
{ date: '{{p.date}}', km: {{p.km}} },
|
||||
{%- endfor %}
|
||||
];
|
||||
console.log(data);
|
||||
|
||||
const margin = { top: 20, right: 20, bottom: 50, left: 50 },
|
||||
width = 960 - margin.left - margin.right,
|
||||
|
Reference in New Issue
Block a user