2019년 12월 27일 금요일

[Daddy's R Data Visualization] : USA Map

[Daddy's R Data Visualization] : USA Map



step 1: visit

https://play70.shinyapps.io/US_Map/
or
https://tinyurl.com/US-ezMap

step 2 : see the example data



'state' and others(with numbers)
'state' has the name of USA states

step 3: get the plot and edit


set the colors for high value and low value,
the colors for the territories and labels.

you can select the data column to show.
if you deactivate the "show labels', you can get the cleaner one.

step 4 : another data




this data have 'fips' and others.

step 5 : get the plot and edit more



you can see the plot.
you can download the plot as a PDF or a PPTX.

You can edit more with the PPTX

step 6 : your data

edit your data in EXCEL and save as "CSV".
your data should have at least one of 'state' and 'state'.



[Daddy's R Data Visualization] : USA Bubble Map

[Daddy's R Data Visualization] : USA Bubble Map

example 



step1: visit here

https://play71.shinyapps.io/US_Bubble_Map/ 
or
https://tinyurl.com/US-Bubble-Map
actually, they are the same

step2: see the data structure


example data has 4 columns (label, size, lon, lat) and your data should have the same.

step3: get the plot and edit


you can select 3 colors and 3 texts, as you want


You can download the plot as a PDF or a PPTX file.
While resizing it, if you upsize you can get smaller texts.



Using pptx. you can edit more precisely as you want.

step 4: upload your data


Prepare your data like example data in EXCEL.
Save as an CSV file.
Click "want to use my data" and upload.