Serial monitor display

I wanted to graph the analog sensor output using the serial monitor.

The Serial Monitor is a text display.

I took the same code given in the site, but the linw import processing.serial.*; shows an error.

The last time I checked, there were at least two web sites on the internet. By now, there are probably at least three or four.

Which site? Which code? Was there something about the need to install Processing that you didn't understand?