Skip to content

Commit 264044f

Browse files
committed
add new legend mocks
1 parent 706a883 commit 264044f

16 files changed

+980
-0
lines changed
51.5 KB
Loading
Loading
Loading
211 KB
Loading
105 KB
Loading
Loading
Loading
95.6 KB
Loading
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"data": [
3+
{
4+
"type": "choropleth",
5+
"name": "Canada",
6+
"locations": ["CAN"],
7+
"z": [1],
8+
"colorscale": [[0, "blue"], [1, "blue"]],
9+
"showscale": false,
10+
"showlegend": true
11+
},
12+
{
13+
"type": "choropleth",
14+
"name": "USA",
15+
"locations": ["USA"],
16+
"z": [1],
17+
"colorscale": [[0, "orange"], [1, "orange"]],
18+
"showscale": false,
19+
"showlegend": true
20+
},
21+
{
22+
"type": "choropleth",
23+
"name": "Brazil",
24+
"locations": ["BRA"],
25+
"z": [1],
26+
"colorscale": [[0, "green"], [1, "green"]],
27+
"showscale": false,
28+
"showlegend": true
29+
},
30+
{
31+
"type": "choropleth",
32+
"name": "China",
33+
"locations": ["CHN"],
34+
"z": [1],
35+
"colorscale": [[0, "red"], [1, "red"]],
36+
"showscale": false,
37+
"showlegend": true
38+
}
39+
],
40+
"layout": {
41+
"title": {
42+
"text": "choropleth with legends and legend title"
43+
},
44+
"legend": {
45+
"borderwidth": 5,
46+
"bordercolor": "gray",
47+
"bgcolor": "yellow",
48+
"orientation": "h",
49+
"title": {
50+
"text": "<b>World</b> <i>Countries</i>",
51+
"font": {
52+
"size": 15,
53+
"family": "Times New Roman"
54+
}
55+
}
56+
},
57+
"paper_bgcolor": "lightblue",
58+
"width": 500,
59+
"height": 350,
60+
"margin": {
61+
"t": 50,
62+
"b": 0,
63+
"l": 0,
64+
"r": 0
65+
}
66+
}
67+
}
Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
{
2+
"data": [
3+
{
4+
"autocolorscale": false,
5+
"showlegend": true,
6+
"showscale": false,
7+
"colorscale": "Portland",
8+
"text": [
9+
"Alabama<br>--<br>Beef: 34.4<br>Pork: 10.6<br>Poultry: 481.0<br>Dairy: 4.06<br>--<br>Fruits: 25.11<br>Veggies: 14.33<br>--<br>Wheat: 70.0<br>Corn: 34.9<br>Cotton: 317.61",
10+
"Alaska<br>--<br>Beef: 0.2<br>Pork: 0.1<br>Poultry: 0.0<br>Dairy: 0.19<br>--<br>Fruits: 0.0<br>Veggies: 1.56<br>--<br>Wheat: 0.0<br>Corn: 0.0<br>Cotton: 0.0",
11+
"Arizona<br>--<br>Beef: 71.3<br>Pork: 17.9<br>Poultry: 0.0<br>Dairy: 105.48<br>--<br>Fruits: 60.27<br>Veggies: 386.91<br>--<br>Wheat: 48.7<br>Corn: 7.3<br>Cotton: 423.95",
12+
"Arkansas<br>--<br>Beef: 53.2<br>Pork: 29.4<br>Poultry: 562.9<br>Dairy: 3.53<br>--<br>Fruits: 6.88<br>Veggies: 11.45<br>--<br>Wheat: 114.5<br>Corn: 69.5<br>Cotton: 665.44",
13+
" California<br>--<br>Beef: 228.7<br>Pork: 11.1<br>Poultry: 225.4<br>Dairy: 929.95<br>--<br>Fruits: 8736.4<br>Veggies: 2106.79<br>--<br>Wheat: 249.3<br>Corn: 34.6<br>Cotton: 1064.95",
14+
"Colorado<br>--<br>Beef: 261.4<br>Pork: 66.0<br>Poultry: 14.0<br>Dairy: 71.94<br>--<br>Fruits: 17.99<br>Veggies: 118.27<br>--<br>Wheat: 400.5<br>Corn: 183.2<br>Cotton: 0.0",
15+
"Connecticut<br>--<br>Beef: 1.1<br>Pork: 0.1<br>Poultry: 6.9<br>Dairy: 9.49<br>--<br>Fruits: 13.1<br>Veggies: 11.16<br>--<br>Wheat: 0.0<br>Corn: 0.0<br>Cotton: 0.0",
16+
"Delaware<br>--<br>Beef: 0.4<br>Pork: 0.6<br>Poultry: 114.7<br>Dairy: 2.3<br>--<br>Fruits: 1.53<br>Veggies: 20.03<br>--<br>Wheat: 22.9<br>Corn: 26.9<br>Cotton: 0.0",
17+
"Florida<br>--<br>Beef: 42.6<br>Pork: 0.9<br>Poultry: 56.9<br>Dairy: 66.31<br>--<br>Fruits: 1371.36<br>Veggies: 450.86<br>--<br>Wheat: 1.8<br>Corn: 3.5<br>Cotton: 78.24",
18+
"Georgia<br>--<br>Beef: 31.0<br>Pork: 18.9<br>Poultry: 630.4<br>Dairy: 38.38<br>--<br>Fruits: 233.51<br>Veggies: 154.77<br>--<br>Wheat: 65.4<br>Corn: 57.8<br>Cotton: 1154.07",
19+
"Hawaii<br>--<br>Beef: 4.0<br>Pork: 0.7<br>Poultry: 1.3<br>Dairy: 1.16<br>--<br>Fruits: 55.51<br>Veggies: 24.83<br>--<br>Wheat: 0.0<br>Corn: 0.0<br>Cotton: 0.0",
20+
"Idaho<br>--<br>Beef: 119.8<br>Pork: 0.0<br>Poultry: 2.4<br>Dairy: 294.6<br>--<br>Fruits: 21.64<br>Veggies: 319.19<br>--<br>Wheat: 568.2<br>Corn: 24.0<br>Cotton: 0.0",
21+
"Illinois<br>--<br>Beef: 53.7<br>Pork: 394.0<br>Poultry: 14.0<br>Dairy: 45.82<br>--<br>Fruits: 12.53<br>Veggies: 39.95<br>--<br>Wheat: 223.8<br>Corn: 2228.5<br>Cotton: 0.0",
22+
"Indiana<br>--<br>Beef: 21.9<br>Pork: 341.9<br>Poultry: 165.6<br>Dairy: 89.7<br>--<br>Fruits: 12.98<br>Veggies: 37.89<br>--<br>Wheat: 114.0<br>Corn: 1123.2<br>Cotton: 0.0",
23+
"Iowa<br>--<br>Beef: 289.8<br>Pork: 1895.6<br>Poultry: 155.6<br>Dairy: 107.0<br>--<br>Fruits: 3.24<br>Veggies: 7.1<br>--<br>Wheat: 3.1<br>Corn: 2529.8<br>Cotton: 0.0",
24+
"Kansas<br>--<br>Beef: 659.3<br>Pork: 179.4<br>Poultry: 6.4<br>Dairy: 65.45<br>--<br>Fruits: 3.11<br>Veggies: 9.32<br>--<br>Wheat: 1426.5<br>Corn: 457.3<br>Cotton: 43.98",
25+
"Kentucky<br>--<br>Beef: 54.8<br>Pork: 34.2<br>Poultry: 151.3<br>Dairy: 28.27<br>--<br>Fruits: 6.6<br>Veggies: 0.0<br>--<br>Wheat: 149.3<br>Corn: 179.1<br>Cotton: 0.0",
26+
"Louisiana<br>--<br>Beef: 19.8<br>Pork: 0.8<br>Poultry: 77.2<br>Dairy: 6.02<br>--<br>Fruits: 17.83<br>Veggies: 17.25<br>--<br>Wheat: 78.7<br>Corn: 91.4<br>Cotton: 280.42",
27+
"Maine<br>--<br>Beef: 1.4<br>Pork: 0.5<br>Poultry: 10.4<br>Dairy: 16.18<br>--<br>Fruits: 52.01<br>Veggies: 62.9<br>--<br>Wheat: 0.0<br>Corn: 0.0<br>Cotton: 0.0",
28+
"Maryland<br>--<br>Beef: 5.6<br>Pork: 3.1<br>Poultry: 127.0<br>Dairy: 24.81<br>--<br>Fruits: 12.9<br>Veggies: 20.43<br>--<br>Wheat: 55.8<br>Corn: 54.1<br>Cotton: 0.0",
29+
"Massachusetts<br>--<br>Beef: 0.6<br>Pork: 0.5<br>Poultry: 0.6<br>Dairy: 5.81<br>--<br>Fruits: 80.83<br>Veggies: 21.13<br>--<br>Wheat: 0.0<br>Corn: 0.0<br>Cotton: 0.0",
30+
"Michigan<br>--<br>Beef: 37.7<br>Pork: 118.1<br>Poultry: 32.6<br>Dairy: 214.82<br>--<br>Fruits: 257.69<br>Veggies: 189.96<br>--<br>Wheat: 247.0<br>Corn: 381.5<br>Cotton: 0.0",
31+
"Minnesota<br>--<br>Beef: 112.3<br>Pork: 740.4<br>Poultry: 189.2<br>Dairy: 218.05<br>--<br>Fruits: 7.91<br>Veggies: 120.37<br>--<br>Wheat: 538.1<br>Corn: 1264.3<br>Cotton: 0.0",
32+
"Mississippi<br>--<br>Beef: 12.8<br>Pork: 30.4<br>Poultry: 370.8<br>Dairy: 5.45<br>--<br>Fruits: 17.04<br>Veggies: 27.87<br>--<br>Wheat: 102.2<br>Corn: 110.0<br>Cotton: 494.75",
33+
"Missouri<br>--<br>Beef: 137.2<br>Pork: 277.3<br>Poultry: 196.1<br>Dairy: 34.26<br>--<br>Fruits: 13.18<br>Veggies: 17.9<br>--<br>Wheat: 161.7<br>Corn: 428.8<br>Cotton: 345.29",
34+
"Montana<br>--<br>Beef: 105.0<br>Pork: 16.7<br>Poultry: 1.7<br>Dairy: 6.82<br>--<br>Fruits: 3.3<br>Veggies: 45.27<br>--<br>Wheat: 1198.1<br>Corn: 5.4<br>Cotton: 0.0",
35+
"Nebraska<br>--<br>Beef: 762.2<br>Pork: 262.5<br>Poultry: 31.4<br>Dairy: 30.07<br>--<br>Fruits: 2.16<br>Veggies: 53.5<br>--<br>Wheat: 292.3<br>Corn: 1735.9<br>Cotton: 0.0",
36+
"Nevada<br>--<br>Beef: 21.8<br>Pork: 0.2<br>Poultry: 0.0<br>Dairy: 16.57<br>--<br>Fruits: 1.19<br>Veggies: 27.93<br>--<br>Wheat: 5.4<br>Corn: 0.0<br>Cotton: 0.0",
37+
"New Hampshire<br>--<br>Beef: 0.6<br>Pork: 0.2<br>Poultry: 0.8<br>Dairy: 7.46<br>--<br>Fruits: 7.98<br>Veggies: 4.5<br>--<br>Wheat: 0.0<br>Corn: 0.0<br>Cotton: 0.0",
38+
"New Jersey<br>--<br>Beef: 0.8<br>Pork: 0.4<br>Poultry: 4.6<br>Dairy: 3.37<br>--<br>Fruits: 109.45<br>Veggies: 56.54<br>--<br>Wheat: 6.7<br>Corn: 10.1<br>Cotton: 0.0",
39+
"New Mexico<br>--<br>Beef: 117.2<br>Pork: 0.1<br>Poultry: 0.3<br>Dairy: 191.01<br>--<br>Fruits: 101.9<br>Veggies: 43.88<br>--<br>Wheat: 13.9<br>Corn: 11.2<br>Cotton: 72.62",
40+
"New York<br>--<br>Beef: 22.2<br>Pork: 5.8<br>Poultry: 17.7<br>Dairy: 331.8<br>--<br>Fruits: 202.56<br>Veggies: 143.37<br>--<br>Wheat: 29.9<br>Corn: 106.1<br>Cotton: 0.0",
41+
"North Carolina<br>--<br>Beef: 24.8<br>Pork: 702.8<br>Poultry: 598.4<br>Dairy: 24.9<br>--<br>Fruits: 74.47<br>Veggies: 150.45<br>--<br>Wheat: 200.3<br>Corn: 92.2<br>Cotton: 470.86",
42+
"North Dakota<br>--<br>Beef: 78.5<br>Pork: 16.1<br>Poultry: 0.5<br>Dairy: 8.14<br>--<br>Fruits: 0.25<br>Veggies: 130.79<br>--<br>Wheat: 1664.5<br>Corn: 236.1<br>Cotton: 0.0",
43+
"Ohio<br>--<br>Beef: 36.2<br>Pork: 199.1<br>Poultry: 129.9<br>Dairy: 134.57<br>--<br>Fruits: 27.21<br>Veggies: 53.53<br>--<br>Wheat: 207.4<br>Corn: 535.1<br>Cotton: 0.0",
44+
"Oklahoma<br>--<br>Beef: 337.6<br>Pork: 265.3<br>Poultry: 131.1<br>Dairy: 24.35<br>--<br>Fruits: 9.24<br>Veggies: 8.9<br>--<br>Wheat: 324.8<br>Corn: 27.5<br>Cotton: 110.54",
45+
"Oregon<br>--<br>Beef: 58.8<br>Pork: 1.4<br>Poultry: 14.2<br>Dairy: 63.66<br>--<br>Fruits: 315.04<br>Veggies: 126.5<br>--<br>Wheat: 320.3<br>Corn: 11.7<br>Cotton: 0.0",
46+
"Pennsylvania<br>--<br>Beef: 50.9<br>Pork: 91.3<br>Poultry: 169.8<br>Dairy: 280.87<br>--<br>Fruits: 89.48<br>Veggies: 38.26<br>--<br>Wheat: 41.0<br>Corn: 112.1<br>Cotton: 0.0",
47+
"Rhode Island<br>--<br>Beef: 0.1<br>Pork: 0.1<br>Poultry: 0.2<br>Dairy: 0.52<br>--<br>Fruits: 2.83<br>Veggies: 3.02<br>--<br>Wheat: 0.0<br>Corn: 0.0<br>Cotton: 0.0",
48+
"South Carolina<br>--<br>Beef: 15.2<br>Pork: 10.9<br>Poultry: 186.5<br>Dairy: 7.62<br>--<br>Fruits: 53.45<br>Veggies: 42.66<br>--<br>Wheat: 55.3<br>Corn: 32.1<br>Cotton: 206.1",
49+
"South Dakota<br>--<br>Beef: 193.5<br>Pork: 160.2<br>Poultry: 29.3<br>Dairy: 46.77<br>--<br>Fruits: 0.8<br>Veggies: 4.06<br>--<br>Wheat: 704.5<br>Corn: 643.6<br>Cotton: 0.0",
50+
"Tennessee<br>--<br>Beef: 51.1<br>Pork: 17.6<br>Poultry: 82.4<br>Dairy: 21.18<br>--<br>Fruits: 6.23<br>Veggies: 24.67<br>--<br>Wheat: 100.0<br>Corn: 88.8<br>Cotton: 363.83",
51+
"Texas<br>--<br>Beef: 961.0<br>Pork: 42.7<br>Poultry: 339.2<br>Dairy: 240.55<br>--<br>Fruits: 99.9<br>Veggies: 115.23<br>--<br>Wheat: 309.7<br>Corn: 167.2<br>Cotton: 2308.76",
52+
"Utah<br>--<br>Beef: 27.9<br>Pork: 59.0<br>Poultry: 23.1<br>Dairy: 48.6<br>--<br>Fruits: 12.34<br>Veggies: 6.6<br>--<br>Wheat: 42.8<br>Corn: 5.3<br>Cotton: 0.0",
53+
"Vermont<br>--<br>Beef: 6.2<br>Pork: 0.2<br>Poultry: 0.9<br>Dairy: 65.98<br>--<br>Fruits: 8.01<br>Veggies: 4.05<br>--<br>Wheat: 0.0<br>Corn: 0.0<br>Cotton: 0.0",
54+
"Virginia<br>--<br>Beef: 39.5<br>Pork: 16.9<br>Poultry: 164.7<br>Dairy: 47.85<br>--<br>Fruits: 36.48<br>Veggies: 27.25<br>--<br>Wheat: 77.5<br>Corn: 39.5<br>Cotton: 64.84",
55+
"Washington<br>--<br>Beef: 59.2<br>Pork: 0.0<br>Poultry: 35.6<br>Dairy: 154.18<br>--<br>Fruits: 1738.57<br>Veggies: 363.79<br>--<br>Wheat: 786.3<br>Corn: 29.5<br>Cotton: 0.0",
56+
"West Virginia<br>--<br>Beef: 12.0<br>Pork: 0.3<br>Poultry: 45.4<br>Dairy: 3.9<br>--<br>Fruits: 11.54<br>Veggies: 0.0<br>--<br>Wheat: 1.6<br>Corn: 3.5<br>Cotton: 0.0",
57+
"Wisconsin<br>--<br>Beef: 107.3<br>Pork: 38.6<br>Poultry: 34.5<br>Dairy: 633.6<br>--<br>Fruits: 133.8<br>Veggies: 148.99<br>--<br>Wheat: 96.7<br>Corn: 460.5<br>Cotton: 0.0",
58+
"Wyoming<br>--<br>Beef: 75.1<br>Pork: 33.2<br>Poultry: 0.1<br>Dairy: 2.89<br>--<br>Fruits: 0.17<br>Veggies: 10.23<br>--<br>Wheat: 20.7<br>Corn: 9.0<br>Cotton: 0.0"
59+
],
60+
"locations": [
61+
"AL",
62+
"AK",
63+
"AZ",
64+
"AR",
65+
"CA",
66+
"CO",
67+
"CT",
68+
"DE",
69+
"FL",
70+
"GA",
71+
"HI",
72+
"ID",
73+
"IL",
74+
"IN",
75+
"IA",
76+
"KS",
77+
"KY",
78+
"LA",
79+
"ME",
80+
"MD",
81+
"MA",
82+
"MI",
83+
"MN",
84+
"MS",
85+
"MO",
86+
"MT",
87+
"NE",
88+
"NV",
89+
"NH",
90+
"NJ",
91+
"NM",
92+
"NY",
93+
"NC",
94+
"ND",
95+
"OH",
96+
"OK",
97+
"OR",
98+
"PA",
99+
"RI",
100+
"SC",
101+
"SD",
102+
"TN",
103+
"TX",
104+
"UT",
105+
"VT",
106+
"VA",
107+
"WA",
108+
"WV",
109+
"WI",
110+
"WY"
111+
],
112+
"colorbar": {
113+
"title": "Millions USD"
114+
},
115+
"type": "choropleth",
116+
"z": [
117+
1390.63,
118+
13.31,
119+
1463.17,
120+
3586.02,
121+
16472.88,
122+
1851.33,
123+
259.62,
124+
282.19,
125+
3764.09,
126+
2860.84,
127+
401.84,
128+
2078.89,
129+
8709.48,
130+
5050.23,
131+
11273.76,
132+
4589.01,
133+
1889.15,
134+
1914.23,
135+
278.37,
136+
692.75,
137+
248.65,
138+
3164.16,
139+
7192.33,
140+
2170.8,
141+
3933.42,
142+
1718,
143+
7114.13,
144+
139.89,
145+
73.06,
146+
500.4,
147+
751.58,
148+
1488.9,
149+
3806.05,
150+
3761.96,
151+
3979.79,
152+
1646.41,
153+
1794.57,
154+
1969.87,
155+
31.59,
156+
929.93,
157+
3770.19,
158+
1535.13,
159+
6648.22,
160+
453.39,
161+
180.14,
162+
1146.48,
163+
3894.81,
164+
138.89,
165+
3090.23,
166+
349.69
167+
],
168+
"locationmode": "USA-states",
169+
"name": "Exports"
170+
}
171+
],
172+
"layout": {
173+
"autosize": true,
174+
"title": {
175+
"text": "2011 US Agriculture Exports by State"
176+
},
177+
"height": 250,
178+
"width": 450,
179+
"margin": {
180+
"t": 50,
181+
"b": 0,
182+
"l": 0,
183+
"r": 0
184+
},
185+
"geo": {
186+
"showlakes": true,
187+
"scope": "usa",
188+
"projection": {
189+
"type": "albers usa"
190+
},
191+
"lakecolor": "rgb(255, 255, 255)"
192+
}
193+
}
194+
}

0 commit comments

Comments
 (0)