package charts import "fmt" templ LineChart(data []DateValue) { for _, d := range data {
${ d.Date } ${ fmt.Sprintf("%d", d.Value) }
} }