Porting the Stretched Chord by Nadieh Bremer to vega.js
WIP from previous block
So far, Mixing D3 for the data generation and vega.js for rendering and minimal logic. Once the spec is parsed, just populate signals/datasets and render the vega view.
Pending to evaluate extending Vega with a new Data Transform so we can generate Stretched Chords only with vega.js.
https://cdn.jsdelivr.net/npm/vega@4
https://cdn.jsdelivr.net/npm/vega-embed@3
https://cdnjs.cloudflare.com/ajax/libs/d3/5.7.0/d3.min.js
https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js