The answer is the independent variable is the temperature, and the dependent variable is the density. Hope this helps if you need any further help on this question or another one feel free to send me a friend request and then a message and then I can help you out or just let me know through here. Have a nice day.