Example: charts-basic/scatterplot_with_labels

Output File:

Source File:

(set width 2048px)
(set height 1024px)
(set dpi 240)

(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)
    size-map (linear 1em 3em)
    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:

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