In [ ]:
#r "nuget: Plotly.NET, 2.0.0"
#r "nuget: Plotly.NET.Interactive, 2.0.0"

Bubble charts

BinderScriptNotebook

Summary: This example shows how to create bubble charts in F#.

let's first create some data for the purpose of creating example charts:

In [3]:
open Plotly.NET 
  
let x = [2; 4; 6;]
let y = [4; 1; 6;]
let size = [19; 26; 55;]

A bubble chart is a type of chart that displays three dimensions of data. Each entity with its triplet (x, y, size) of associated data is plotted as a disk. The first two values determine the disk's xy location and the third its size.

In [4]:
let bubble1 = Chart.Bubble(x,y,size)
In [ ]:
bubble1
Out[ ]: