Feliz.Plotly

Fable bindings written in the Feliz-style for plotly.js


Keywords
fsharp, fable, react, visualization, graph, chart, dsl, elmish-applications, feliz, graphing, plotly, plotlyjs, type-safe
License
MIT
Install
Install-Package Feliz.Plotly -Version 2.1.0

Documentation

Feliz.Plotly (alpha) Nuget

Fable bindings for plotly.js with Feliz style api for use within React applications.

Lets you build visualizations in an easy, discoverable, and safe fashion.

A quick look:

open Feliz
open Feliz.Plotly

Plotly.plot [
    plot.data [
        data.scatter [
            scatter.x [ 1; 2; 3; 4]
            scatter.y [ 10; 15; 13; 17 ]
            scatter.mode.markers
        ]
        data.scatter [
            scatter.x [ 2; 3; 4; 5 ]
            scatter.y [ 16; 5; 11; 9 ]
            scatter.mode.lines
        ]
        data.scatter [
            scatter.x [ 1; 2; 3; 4 ]
            scatter.y [ 12; 9; 15; 12 ]
            scatter.mode.markersAndLines
        ]
    ]
]

This library is generated from the plotly.js json schema, so while things get ironed out please log an issue if you find something that seems off!