Skip to content
/ plot-cli Public

Observable Plot on the command line

License

Notifications You must be signed in to change notification settings

Fil/plot-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Observable Plot on the command line

Install this module with:

yarn

Add your own Plot definition in chart_svg.js, then run:

node chart_svg.js > result.svg

or, with a converter installed (such as ImageMagick):

node chart_svg.js | convert - result.png

If the chart has a legend, or a caption, Plot returns an HTML node instead of a SVG node:

node chart_html.js > result.html

plot-cli.mp4

About

Observable Plot on the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published