@lapisby/generator-plotly

1.0.0-beta.0 • Public • Published

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'
    }]

Readme

Keywords

Package Sidebar

Install

npm i @lapisby/generator-plotly

Weekly Downloads

0

Version

1.0.0-beta.0

License

MIT

Unpacked Size

2.84 kB

Total Files

6

Last publish

Collaborators

  • dreamind