Declarative Data Visualization
haifengl.github.io
haifengl.github.io
From what I can tell, the main article is about being able to generate Vega from Scala.
Altair is an python package for generating Vega using Python. Their documentation also has an excellent examples gallery, if you're looking to see what an be done with Vega and similar packages.
I'm curious, now: can a Scala person (this is Scala, right?) explain what the difference is between these two things?
The benefit is that the type will be known to be JSArray without need for runtime casting (at least, outside the scope of the function). For comparison, `json` returns a JSObject.
I honestly haven't seen this before working with Scala, and it's defined just for the smile repository.