Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Google Sheets– Scatter chart comparing two variables

$
0
0

enter image description here

I'm trying to compare two different variables, one as x and one as y, for 30 different countries on the same graph. Basically, I'm trying to get it to look like the graph below, only with several countries. My data currently looks like this:

enter image description here

     2015  2016 2017 2018 2019

Romania X 4.3 4 3.7 3.6 3.4

 Y 19.3 16.6    14.7    14.5    13.9

Latvia X 2.6 2.4 2.2 2 1.9

Y 9.9   9.5 9.4 9.5 10.2

Denmark X 3.3 3.2 3.2 3.1 3

Y  5.9  5.8 5.4 5.2 5

Luxembourg X 1.5 1.5 1.5 1.5 1.5

Y 4.7   4   3.3 3.3 3.1

Mauritius X 9.1 9.1 9.3 9.7 10.2

 Y 13   16.6    18.5    20.7    24.2

Bulgaria X 4 3.8 3.7 3.5 3.3

Y 14.9  13.6    12  12.5    13.2

France X 2.4 2.4 2.5 2.6 2.7

Y 6.8   6.3 6.3 6   5.8

Afghanistan X 40.3 39.1 38 36.9 35.9

 Y 45.1 49.6    54.3    57.5    63.1

How should I format my data so it is graphed the way I want?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>