Both above images are representations of a volatage divider with the first image from TinkerCad being a voltage divider across a photoresistor. For LTspice we are calculating the drop in voltage across a resistor.

A voltage divider is a passive linear circuit, meaning that the voltage output is a fraction of the voltage input depending on the respective resistance.

For the graph above we are calculating the current based on the voltage drop across the photoresistor using the following equation.

I = (Input voltage - Voltage across photoresistor)/ 1000 ohms

Using those vaules given by the graph we then calculated the slope of the line resulting in the resistance across the photoresistor.

The slope of my graph is 979.5 meaning the photoresitor has a resistance of 979.5 ohms

The graph above is the voltage and current before and after a resistor.

The data from the power supply shows the voltage and current without any resistance. The data after the resistor represents the voltage and current after passing through a 1000 ohm resistor.

This is backed up by taking the slope of the data after resistor just as in the first graph.

The slope of the data after the resistor equals 1000 which matches the resistance displayed in our LTspice circuit.