cnvs%20%3D%20document%2Ewindows%5B0%5D%2Eselection%2Ecanvas%0Arect%20%3D%20new%20Rect%2872%2C%2072%2C%20120%2C%2036%29%0Agraphic%20%3D%20cnvs%2EaddShape%28%22Rectangle%22%2C%20rect%29%0A%2F%2F%20graphic%20properties%0Agraphic%2EstrokeThickness%20%3D%202%0Agraphic%2EstrokeColor%20%3D%20Color%2Eblack%0A%2F%2F%20solid%20properties%0Agraphic%2EfillColor%20%3D%20Color%2Ewhite%0Agraphic%2EfillType%20%3D%20FillType%2ESolid%0A%2F%2F%20solid%20text%20properties%0Agraphic%2Etext%20%3D%20%27PLACEHOLDER%27%0Agraphic%2EtextSize%20%3D%2014%0Agraphic%2EtextColor%20%3D%20Color%2Eblack%0Agraphic%2EtextHorizontalAlignment%20%3D%20HorizontalTextAlignment%2ECenter%0Agraphic%2EtextVerticalPlacement%20%3D%20VerticalTextPlacement%2EMiddle%0Agraphic%2EtextHorizontalPadding%20%3D%206%0Agraphic%2EtextVerticalPadding%20%3D%202%0A%2F%2F%20create%20the%20table%0Avar%20JSONstr%20%3D%20%27TABLEDATA%27%0Adata%20%3D%20JSON%2Eparse%28JSONstr%29%0ArowCount%20%3D%20data%2Elength%0AcolumnCount%20%3D%20data%5B0%5D%2Elength%0Atable%20%3D%20new%20Table%28graphic%29%0Atable%2Ecolumns%20%3D%20columnCount%0Atable%2Erows%20%3D%20rowCount%0Afor%20%28var%20i%20%3D%200%3B%20i%20%3C%20data%2Elength%3B%20i%2B%2B%29%7B%0A%09var%20rowArray%20%3D%20data%5Bi%5D%3B%20%2F%2F%20row%0A%09var%20x%20%3D%200%20%2F%2F%20column%20index%0A%09rowArray%2EforEach%28function%28cellObj%29%7B%0A%09%09dataValue%20%3D%20cellObj%5B%27data%27%5D%0A%09%09alignValue%20%3D%20cellObj%5B%27halign%27%5D%0A%09%09graphic%20%3D%20table%2EgraphicAt%28i%2Cx%29%0A%09%09graphic%2Etext%20%3D%20dataValue%0A%09%09if%20%28alignValue%20%3D%3D%20%27left%27%29%7B%0A%09%09%09alignValue%20%3D%20HorizontalTextAlignment%2ELeft%0A%09%09%7D%20else%20if%20%28alignValue%20%3D%3D%20%27right%27%29%7B%0A%09%09%09alignValue%20%3D%20HorizontalTextAlignment%2ERight%0A%09%09%7D%20else%20%7B%0A%09%09%09alignValue%20%3D%20HorizontalTextAlignment%2ECenter%0A%09%09%7D%0A%09%09graphic%2EtextHorizontalAlignment%20%3D%20alignValue%0A%09%09graphic%2EtextSize%20%3D%2014%0A%09%09graphic%2EtextColor%20%3D%20Color%2Eblack%0A%09%09x%20%3D%20x%20%2B%201%0A%09%7D%29%0A%7D
Top Solar Power States Per Capita
STATE |
Cap Per Capita |
Power(MW) |
POPULATION |
Arizona |
166.9 |
1093.5 |
6,553,225 |
Hawaii |
136.5 |
190.0 |
6,553,225 |
Nevada |
122.9 |
339.1 |
2,758,931 |
New Jersey |
109.6 |
971.4 |
8,864,590 |
New Mexico |
88.4 |
184.4 |
2,085,538 |
California |
66.7 |
2537.4 |
38,041,430 |
BACK