View on

Example: charts-basic/scatterplot_with_labels

Output File:

Source File:

(set height 240px)
(set width 900px)

(chart/scatterplot
    data-x (csv tests/testdata/point_example.csv x)
    data-y (csv tests/testdata/point_example.csv y)
    data-size (csv tests/testdata/point_example.csv z)
    labels (csv tests/testdata/point_example.csv z)
    limit-y (-40 60)
    marker-shape (circle-bullet)
    scale-x-padding 15
    scale-y-padding 15
    axes (bottom left)
    background #eee
    border none
    grid (color #fff))

Run this example:

$ fviz --in examples/charts-basic/scatterplot_with_labels.fvz --out output.svg
Edit this page on GitHub