This exercise covers plotting in JavaScript using the stdlib plot API.
- Create a
plotinstance. - Try setting various properties with what you consider expected and unexpected values.
For each exercise, generate both a browser view and a window view.
- Create a
plotinstance configured to plot a single line. - Create a
plotinstance configured to generate a scatter plot. - Create a
plotinstance configured to plot multiple lines. Experiment with different line styles, colors, and other properties. - Create a
plotinstance configured to plot data as a line plot combined with a scatter plot. - Create a scatter
plotwith axes rug plots.
- Generate multiple plots and display them as a single web page in your browser.
- For
plotdocumentation, see the docs. - To display multiple plots, see the disposable HTTP server module and vdom-to-html.
Assuming that each solution is placed in a separate file,
$ node ./path/to/<solution_1>.js
$ node ./path/to/<solution_2>.js
# ...When all your solutions succeed, proceed to the next exercise.