Hello Ather Syed,
You can use mendix charts module.
1. Drop the area chart on your required page.
2. In general tab, click on new under data source.
3. Select data source and attribute to compare in x and y axis.
4. Now you can view your chart in local run.