Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Plotting

This exercise covers plotting in JavaScript using the stdlib plot API.

Exercises

1) Plot Instances

  • Create a plot instance.
  • Try setting various properties with what you consider expected and unexpected values.

2) Plot Types

For each exercise, generate both a browser view and a window view.

  • Create a plot instance configured to plot a single line.
  • Create a plot instance configured to generate a scatter plot.
  • Create a plot instance configured to plot multiple lines. Experiment with different line styles, colors, and other properties.
  • Create a plot instance configured to plot data as a line plot combined with a scatter plot.
  • Create a scatter plot with axes rug plots.

3) Multiple Plots

  • Generate multiple plots and display them as a single web page in your browser.

Tips

Testing

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.