package charts import "fmt" type KeyValue struct { Key string Value int Color string } templ BarChart(data []KeyValue) { for _, d := range data {