Skip to content
Martino Ferrari edited this page Feb 11, 2018 · 4 revisions

Charter is a simple DSL to generate SVG plots, more information on the syntax can be found in the readme and examples can be found on the wiki.

To define a charter polt in SciDown simply put your plot code inside a codeblock with language charter.

Example code

```charter
plot:
  x: range: 0 100 10
  y: math: sqrt(x)
```

This is a simple plot generated with charter (not from the code above):

Clone this wiki locally