Generation

generate functionTue, 20 Aug 2024

Read a csv table, and make a scatterplot with columns b and c; add lineplot with column d. Column a is x axis, and is date

func plot(data: [(a: String, b: Double, c: Double, d: Double)]) { let data = data.map { ($0.a, $0.b, $0.c, $0.d) } let data2 = data.map { ($0.a, $0.b, $0.c, $0.d) } let data3

Want to kickstart your project?Use the new AI Studio to create your code