1.0.0-beta.0 • Published 6 years ago

@lapisby/generator-plotly v1.0.0-beta.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

plotly generator for remark

Convert a yaml component specification to an embedded HTML plotly snippet.

Example:

id: dom-id
component: plotly
data: >
    [{
      x: [1, 2, 3, 4],
      y: [10, 15, 13, 17],
      mode: 'markers',
      type: 'scatter'
    },
    {
      x: [2, 3, 4, 5],
      y: [16, 5, 11, 9],
      mode: 'lines',
      type: 'scatter'
    },{
      x: [1, 2, 3, 4],
      y: [12, 9, 15, 12],
      mode: 'lines+markers',
      type: 'scatter'
    }]
1.0.0-beta.0

6 years ago