I have a following dataframe:
Alue SDP PS KOK KESK VIHR VAS RKP KD SIN PIR STL KP FP LIB SKP EOP IP SKE KTP Muut Vaalipiiri
1 Helsinki 13.5 12.3 21.8 2.9 23.5 11.1 5.3 1.9 0.5 1.5 0.3 0 0.9 0.3 0.2 0.2 0.1 0.1 0 3.5 Helsinki
I would like to draw a bar plot showing the 1st row value of each column on its own bar. The problem seems to be that i can't draw bar plot by row, only by column. I have tried to draw a plot like this:
ggplot(testi2, aes(testi2[0,], testi2[1,))+
geom_col()
but it doesn't work :(