timqian/chart.xkcd

consider interfacing with vega.js

Closed

#1 opened on Aug 19, 2019

 (4 comments) (3 reactions) (0 assignees)JavaScript (201 forks)batch import
help wanted

Repository metrics

Stars
 (7,510 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide