{
const latitude = vl.param('lat').value(25.00).bind(vl.slider(25.00, 50.00, 0.0001).name("Latitude (Degrees N): "));
const solar = vl.param("sol").value(-23.45 * Math.cos((360 / 365) * (date + 10)));
return vl.markSquare()
.data(sampleData)
.params([latitude, solar])
.title({ text: {expr : 'sol'} })
.encode(
vl.longitude().fieldQ('lng'),
vl.latitude().fieldQ('lat'),
vl.color().fieldQ('lat').scale({ scheme: "viridis" }).title("change color to t results later")
)
.render()
}