1
0

Add example; Fix example in README

This commit is contained in:
Jeff 2023-09-11 15:23:13 -04:00
parent 27cb9be5f5
commit ed38f28f84
2 changed files with 7 additions and 1 deletions

View File

@ -20,7 +20,7 @@ run(
Dust can do amazing things with data. To load CSV data, isolate a column and render it as a line plot in a GUI window:
```dust
read("examples/assets/faithful.csv")
read_file("examples/assets/faithful.csv")
-> from_csv(input)
-> rows(input)
-> transform(input, 'input.1')

View File

@ -0,0 +1,6 @@
# This will read a CSV file and display it as a line plot in a GUI window.
read_file("examples/assets/faithful.csv")
-> from_csv(input)
-> rows(input)
-> transform(input, 'input.1')
-> plot(input);