There are essentially three strategies for working with a chart

  1. "Mutable"
  2. The DSL
  3. a mix of the two...

The typesafe DSL is generated out of the vega JSON schema.

I do not believe it to be 100% correct. About 95% correct.

For this reason, the "mutable" option is the ultimate fallback. Typesafe is pretty nice to have, though.