timqian/chart.xkcd

consider interfacing with vega.js

Chiusa

#1 aperta il 19 ago 2019

 (4 commenti) (3 reazioni) (0 assegnatari)JavaScript (201 fork)batch import
help wanted

Metriche repository

Star
 (7510 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Interesting project! The syntax of your library strongly reminds me of vega-lite, which itself is based on vega and the latter being itself based on d3.

I can see at least three advantages for your library, in particular the rendering part, if you built a renderer for vega:

  • vega is extensible, even on the rendering part, and thus you would benefit from an already available interactive grammar of graphics syntax - no burden of inventing a new one;
  • better focus on the rendering itself instead of users asking for implementing this and that type of chart;
  • your renderer would be accessible to js (via vega and vega-lite), R (via vega widget) and python (via altair) communities.

Guida contributor