# Variable and Function Questions

**URL:** https://discourse.processing.org/t/variable-and-function-questions/29636
**Category:** Coding Questions
**Tags:** homework
**Created:** [April 25, 2021, 5:31pm UTC](https://discourse.processing.org/t/variable-and-function-questions/29636 "2021-04-25T17:31:59Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [April 25, 2021, 9:59pm UTC](https://discourse.processing.org/t/variable-and-function-questions/29636/5 "2021-04-25T21:59:53Z")

</div>

Hello,

It will be up to 30 days to get my data!

I found some sample data and worked with that.

I then used the example here:  
_[loadJSONArray() \ Language (API) \ Processing 3+](https://processing.org/reference/loadJSONArray_.html)_

I did modify the code for the rectangle.

And voila!

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/34dbcca76e99db83b27d864bd43d258eaf896748.png)

Keep trying!

`:)`

References:  
_[JSONObject \ Language (API) \ Processing 3+](https://processing.org/reference/JSONObject.html)_  
_[Data \ Processing.org](https://processing.org/tutorials/data/)_

---

_[View the full topic](https://discourse.processing.org/t/variable-and-function-questions/29636)._
