-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
599 lines (587 loc) · 32.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Food Vis</title>
<link href="https://fonts.googleapis.com/css?family=Noto+Sans:400,500|Roboto+Condensed:400,700|Roboto:300,400,500,600" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./css/styles.css"/>
<link rel="stylesheet" type="text/css" href="./css/jquery-ui.css"/>
<link rel="stylesheet" type="text/css" href="./css/states.css"/>
<script type="text/javascript" src="./js/vendor/jquery-3.1.1.min.js" defer></script>
<script type="text/javascript" src="./js/vendor/alasql.min.js" defer></script>
<script type="text/javascript" src="./js/vendor/selectize/selectize.js" defer></script>
<script type="text/javascript" src="./js/vendor/js.cookie.js" defer></script>
<script type="text/javascript" src="./js/vendor/nprogress/nprogress.js" defer></script>
<script type="text/javascript" src="./js/vendor/jquery-ui.min.js" defer></script>
<script src="https://code.highcharts.com/highcharts.js" defer></script>
<script src="https://code.highcharts.com/highcharts-more.js" defer></script>
<script type="text/javascript" src="./js/main.js" defer></script>
</head>
<body>
<div class="tour-overlay"></div>
<div class="tour-content">
<div class="container">
<img src="img/tour.png" alt="" width="100%">
<div class="introduction">
<div class="tour-title">Quick Guide for Food Flow Mapper</div>
<div class="tour-intro">
<p>Food Flow Mapper is a visualization showing the network of food flow among states in United States. </p>
</div>
<a href="javascript:;" class="btn btn-done" id="tour-done">Got It</a>
</div>
</div>
</div>
<div id="header" class="header noselect">
<!-- https://github.gatech.edu/lklingman3/info-vis/issues/4 -->
<div class="container">
<h1 class="logo" id="logo">Food Flow Mapper</h1>
<form autocomplete="off">
<div class="filter" id="filter">
<select class="selectbox" id="stateSelect">
<option value="all" selected>All States</option>
</select>
<span class="measure-by">
<label class="label">Measure by</label>
<select class="selectbox selectbox-mid" id="viewSelect">
<option value="w" selected>Shipment Weight</option>
<option value="v">Shipment Value</option>
<option value="tm">Ton Miles</option>
</select>
</span>
<span class="sort-by">
<label class="label">Sort by</label>
<select class="selectbox" id="sortSelect">
<option value="alphabet" selected>Alphabet</option>
<option value="ranking">Ranking</option>
</select>
</span>
<span class="filter-by">
<label class="label">Filter by</label>
<select class="selectbox selectbox-mid" id="filterFood">
<option value="all" selected>All Food Types</option>
<option value="F01">Animals and Fish</option>
<option value="F02">Cereal Grains</option>
<option value="F03">Agricultural Products</option>
<option value="F04">Animal Feed, Eggs, Honey, and Other product of Animal Origin</option>
<option value="F05">Meat, Poultry, Fish, Seafood, and their preparations</option>
<option value="F06">Milled Grain Products and Preparations, and Bakery Products</option>
<option value="F07">Other Prepared Foodstuffs, and Fats and Oil</option>
<option value="F08">Alcoholic Beverages and Denatured Alcohol</option>
<option value="F09">Tobacco Products</option>
<option value="F00">Other Undefined food</option>
</select>
<select class="selectbox selectbox-mid" id="filterTrans">
<option value="all" selected>All Transportation</option>
<option value="T03,T04,T05">Truck</option>
<option value="T06">Rail</option>
<option value="T07,T08,T09,T10,T101">Water</option>
<option value="T11">Air</option>
<option value="T14">Parcel, USPS, or courier</option>
<option value="T00">Other Undefined Modes</option>
</select>
</span>
<!-- <span class="shade-by">
<label class="label">Table Show</label>
<select class="selectbox selectbox-mid" id="shade">
<option value="IE" selected>Import and Export</option>
<option value="Food">Food Types</option>
<!–<option value="Trans">Transportation Modes</option>–>
</select>
</span>-->
</div>
</form>
</div>
</div>
<div style="height:10px;"> </div>
<div id="arcsAndDots">
<div class="year-slider">
<div id="slider"></div>
<div class="ui-slider-bg"></div>
</div>
<div id="selectedState" style="display:none;">
<span class="name">Georgia</span><br>
<span class="key keyUnits">In Billions of Pounds</span>
<img src="img/x.png" style="position: absolute; width: 16px; height: 16px; top: 12px;right:12px; cursor: pointer" alt="Close" id="closeState">
<table><tbody id="sameState">
<tr>
<td class="state">GA→GA</td>
<td class="number smallW"><span class="importDot">•</span> 234</td>
<td class="number"><span class="exportDot">•</span> 544</td>
</tr>
</tbody>
</table>
<div class="table"><div>
<table>
<thead>
<th colspan="2">Import</th>
</thead>
<tbody id="importState">
<tr><td colspan="3"><div class="section"></div></td></tr>
<tr>
<td class="state">GA→GA</td>
<td class="number"><span class="importDot">•</span> 234</td>
<td class="number"><span class="exportDot">•</span> 544</td>
</tr>
</tbody>
</table>
</div></div>
<div class="table" style="margin-bottom:2px;"><div>
<table>
<thead>
<th colspan="2">Export</th>
</thead>
<tbody id="exportState">
<tr>
<td class="state">GA→GA</td>
<td class="number"><span class="importDot">•</span> 234</td>
<td class="number"><span class="exportDot">•</span> 544</td>
</tr>
</tbody>
</table>
</div></div>
<div class="key switch" data-value="IE" id="shade">(Show Food Categories)</div>
</div>
<div id="hoverState" style="top:235px;left:10px;display:none;" class="hoverState">
<span id="hoverStateName">Georgia</span><br>
<span class="greyText keyUnits">In Billions of Pounds</span>
<table style="border:none;width:100%;">
<tr><td>
<span class="greyText">Import</span><br>
<span id="hoverImport">540</span>
</td><td style="text-align: right;">
<span class="greyText">Rank</span><br>
<span class="orange" id="hoverImportRank">12</span>/51
</td></tr>
<tr><td>
<span class="greyText">Export</span><br>
<span id="hoverExport">1120</span>
</td><td style="text-align: right;">
<span class="greyText">Rank</span><br>
<span class="orange" id="hoverExportRank">23</span>/51
</td></tr>
</table>
</div>
<div class="arc-graph-container" id="arc-graph-container">
<svg id='arcGraph'>
<text x="1248" y="126" class="slider">2012</text>
<text x="1200" y="126" class="slider">2007</text>
<text x="1148" y="126" class="slider">2002</text>
<text x="1096" y="126" class="slider">1997</text>
<text x="1270" y="146" text-anchor="end" class="graph-unit slider keyUnits">In Billions of Pounds</text>
<g id="yearChart" transform="translate(1103,5)">
<text x="6" y="10" id="t1997" transform="translate(0,-3)">1.3m</text>
<text x="56" y="10" id="t2002" transform="translate(0,-3)">1.3m</text>
<text x="106" y="10" id="t2007" transform="translate(0,-3)">1.3m</text>
<text x="156" y="10" id="t2012" transform="translate(0,-3)">1.3m</text>
<rect width="12" height="50" class="import" x="0" y="50" id="i1997"></rect>
<rect width="12" height="50" class="export" x="0" y="0" id="e1997"></rect>
<rect width="12" height="25" class="import" x="50" y="75" id="i2002"></rect>
<rect width="12" height="25" class="export" x="50" y="50" id="e2002"></rect>
<rect width="12" height="25" class="import" x="100" y="75" id="i2007"></rect>
<rect width="12" height="25" class="export" x="100" y="50" id="e2007"></rect>
<rect width="12" height="25" class="import" x="150" y="75" id="i2012"></rect>
<rect width="12" height="25" class="export" x="150" y="50" id="e2012"></rect>
</g>
<g class='gray-arc gray-arc2'></g>
<g class='gray-arc' id="selectedArc"></g>
</svg>
</div>
<div class="key" id="keyIE">
<svg width="350" height="20" class="sKey">
<circle cx="3" cy="7" r="2.5" class="stateCircle"></circle>
<circle cx="11" cy="7" r="4.5" class="stateCircle"></circle>
<circle cx="23" cy="7" r="6.5" class="stateCircle"></circle>
<text x="35" y="11" class="keyText viewSelectText">Shipment Weight</text>
<circle cx="128" cy="4.5" r="2.5" class="import"></circle>
<circle cx="128" cy="10.5" r="2.5" class="import"></circle>
<circle cx="134.5" cy="4.5" r="2.5" class="import"></circle>
<circle cx="134.5" cy="10.5" r="2.5" class="export"></circle>
<text x="140" y="11" class="keyText dotUnit">6 bn pounds/dot</text>
<rect x="238" y="2" width="11" height="11" class="keyBox import"></rect>
<text x="256" y="11" class="keyText">Import</text>
<rect x="298" y="2" width="11" height="11" class="keyBox export"></rect>
<text x="316" y="11" class="keyText">Export</text>
</svg>
</div>
<div class="key" id="keyFood" style="display:none;">
<svg width="1120" height="52" class="sKey">
<g transform="translate(0,0)">
<circle cx="3" cy="7" r="2.5" class="stateCircle"></circle>
<circle cx="11" cy="7" r="4.5" class="stateCircle"></circle>
<circle cx="23" cy="7" r="6.5" class="stateCircle"></circle>
<text x="35" y="11" class="keyText viewSelectText">Shipment Weight</text>
</g>
<g transform="translate(-6,38)">
<circle cx="128" cy="4.5" r="2.5" class="import"></circle>
<circle cx="128" cy="10.5" r="2.5" class="import"></circle>
<circle cx="134.5" cy="4.5" r="2.5" class="import"></circle>
<circle cx="134.5" cy="10.5" r="2.5" class="export"></circle>
<text x="144" y="11" class="keyText dotUnit">10 bn pounds/dot</text>
</g>
<g transform="translate(120,0)">
<g transform="translate(0,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox import"></rect>
<text x="18" y="11" class="keyText">Import</text>
</g>
<g transform="translate(0,20)">
<rect x="0" y="2" width="11" height="11" class="keyBox export"></rect>
<text x="18" y="11" class="keyText">Export</text>
</g>
<g transform="translate(100,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox f01"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Animals and Fish</tspan>
</text>
</g>
<g transform="translate(100,20)">
<rect x="0" y="2" width="11" height="11" class="keyBox f02"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Cereal Grains</tspan>
</text>
</g>
<g transform="translate(200,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox f03"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Agricultural</tspan>
<tspan x="18" dy="1.2em">Products</tspan>
</text>
</g>
<g transform="translate(300,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox f04"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Animal Feed,</tspan>
<tspan x="18" dy="1.2em">Eggs, Honey, and</tspan>
<tspan x="18" dy="1.2em">Other products of</tspan>
<tspan x="18" dy="1.2em">Animal Origin</tspan>
</text>
</g>
<g transform="translate(400,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox f05"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Meat, Poultry,</tspan>
<tspan x="18" dy="1.2em">Fish, Seafood,</tspan>
<tspan x="18" dy="1.2em">and their</tspan>
<tspan x="18" dy="1.2em">preparations</tspan>
</text>
</g>
<g transform="translate(500,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox f06"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Milled Grain</tspan>
<tspan x="18" dy="1.2em">Products and </tspan>
<tspan x="18" dy="1.2em">Preparations, and</tspan>
<tspan x="18" dy="1.2em">Bakery Products</tspan>
</text>
</g>
<g transform="translate(600,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox f07"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Other Prepared</tspan>
<tspan x="18" dy="1.2em">Foodstuffs, and</tspan>
<tspan x="18" dy="1.2em">Fats and Oil</tspan>
</text>
</g>
<g transform="translate(700,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox f08"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Alcoholic</tspan>
<tspan x="18" dy="1.2em">Beverages and</tspan>
<tspan x="18" dy="1.2em">Denatured</tspan>
<tspan x="18" dy="1.2em">Alcohol</tspan>
</text>
</g>
<g transform="translate(800,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox f09"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Tobacco</tspan>
<tspan x="18" dy="1.2em">Products</tspan>
</text>
</g>
<g transform="translate(900,0)">
<rect x="0" y="2" width="11" height="11" class="keyBox f00"></rect>
<text x="18" y="0" class="keyText">
<tspan x="18" dy="1.2em">Undefined</tspan>
</text>
</g>
</g>
</svg>
</div>
</div>
<div id="bottomRow">
<div id="map">
<!-- https://github.gatech.edu/lklingman3/info-vis/issues/1 -->
<h2><span class="viewSelectText">Shipment Weight</span> by State, <span class="year">2012</span></h2>
<div class="notes keyUnits">In Billions of Pounds</div>
<div id="mapRadios" class="map-radios notes">
<input type="radio" name="mapRadio" class="mapRadio" value="i"> <label>Import</label>
<input type="radio" name="mapRadio" class="mapRadio" value="e"> <label>Export</label>
<input type="radio" name="mapRadio" class="mapRadio" value="ie" checked> <label>Both</label>
</div>
<div id="mapKey" class="key" style="padding: 10px;">
<svg width="233" height="25">
<text class="keyText" x="0" y="23">0</text>
<text class="keyText" id="mapKey1" x="69" y="10">30</text>
<text class="keyText" id="mapKey2" x="129" y="10">60</text>
<text class="keyText" id="mapKey3" x="205" y="23">> 90</text>
<rect width="31" height="11" x="17" y="14" class="mapColor1"></rect>
<rect width="31" height="11" x="47" y="14" class="mapColor2"></rect>
<rect width="31" height="11" x="77" y="14" class="mapColor3"></rect>
<rect width="31" height="11" x="107" y="14" class="mapColor4"></rect>
<rect width="31" height="11" x="137" y="14" class="mapColor5"></rect>
<rect width="30" height="11" x="167" y="14" class="mapColor6"></rect>
</svg>
</div>
<div id="plotMap" style="width: 360px; height: 240px;">
<svg height="240" width="360" id="mapSVG">
<g id="stateMapME" transform="translate(330,0)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">ME</text>
</g>
<g id="stateMapAK" transform="translate(0,30)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">AK</text>
</g>
<g id="stateMapVT" transform="translate(270,30)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">VT</text>
</g>
<g id="stateMapNH" transform="translate(300,30)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">NH</text>
</g>
<g id="stateMapMA" transform="translate(330,30)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">MA</text>
</g>
<g id="stateMapWA" transform="translate(30,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">WA</text>
</g>
<g id="stateMapMT" transform="translate(60,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">MT</text>
</g>
<g id="stateMapND" transform="translate(90,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">ND</text>
</g>
<g id="stateMapSD" transform="translate(120,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">SD</text>
</g>
<g id="stateMapMN" transform="translate(150,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">MN</text>
</g>
<g id="stateMapWI" transform="translate(180,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">WI</text>
</g>
<g id="stateMapMI" transform="translate(210,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">MI</text>
</g>
<g id="stateMapNY" transform="translate(270,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">NY</text>
</g>
<g id="stateMapCT" transform="translate(300,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">CT</text>
</g>
<g id="stateMapRI" transform="translate(330,60)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">RI</text>
</g>
<g id="stateMapOR" transform="translate(30,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">OR</text>
</g>
<g id="stateMapID" transform="translate(60,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">ID</text>
</g>
<g id="stateMapWY" transform="translate(90,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">WY</text>
</g>
<g id="stateMapNE" transform="translate(120,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">NE</text>
</g>
<g id="stateMapIA" transform="translate(150,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">IA</text>
</g>
<g id="stateMapIL" transform="translate(180,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">IL</text>
</g>
<g id="stateMapIN" transform="translate(210,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">IN</text>
</g>
<g id="stateMapOH" transform="translate(240,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">OH</text>
</g>
<g id="stateMapPA" transform="translate(270,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">PA</text>
</g>
<g id="stateMapNJ" transform="translate(300,90)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">NJ</text>
</g>
<g id="stateMapCA" transform="translate(0,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">CA</text>
</g>
<g id="stateMapNV" transform="translate(30,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">NV</text>
</g>
<g id="stateMapUT" transform="translate(60,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">UT</text>
</g>
<g id="stateMapCO" transform="translate(90,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">CO</text>
</g>
<g id="stateMapKS" transform="translate(120,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">KS</text>
</g>
<g id="stateMapMO" transform="translate(150,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">MO</text>
</g>
<g id="stateMapKY" transform="translate(180,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">KY</text>
</g>
<g id="stateMapWV" transform="translate(210,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">WV</text>
</g>
<g id="stateMapDC" transform="translate(240,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">DC</text>
</g>
<g id="stateMapMD" transform="translate(270,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">MD</text>
</g>
<g id="stateMapDE" transform="translate(300,120)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">DE</text>
</g>
<g id="stateMapAZ" transform="translate(60,150)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">AZ</text>
</g>
<g id="stateMapNM" transform="translate(90,150)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">NM</text>
</g>
<g id="stateMapOK" transform="translate(120,150)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">OK</text>
</g>
<g id="stateMapAR" transform="translate(150,150)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">AR</text>
</g>
<g id="stateMapTN" transform="translate(180,150)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">TN</text>
</g>
<g id="stateMapVA" transform="translate(210,150)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">VA</text>
</g>
<g id="stateMapNC" transform="translate(240,150)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">NC</text>
</g>
<g id="stateMapHI" transform="translate(0,180)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">HI</text>
</g>
<g id="stateMapTX" transform="translate(90,180)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">TX</text>
</g>
<g id="stateMapLA" transform="translate(120,180)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">LA</text>
</g>
<g id="stateMapMS" transform="translate(150,180)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">MS</text>
</g>
<g id="stateMapAL" transform="translate(180,180)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">AL</text>
</g>
<g id="stateMapGA" transform="translate(210,180)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">GA</text>
</g>
<g id="stateMapSC" transform="translate(240,180)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">SC</text>
</g>
<g id="stateMapFL" transform="translate(210,210)">
<rect width="29" height="29"></rect>
<text class="stateID" style="pointer-events: none;" x="14.5" y="14.5">FL</text>
</g>
</svg>
</div>
</div>
<div id="foodClassBar">
<h2>Food Classification, <span class="state">U.S.</span> <span class="year">2012</span></h2>
<div class="notes keyUnits">In Billions of Pounds</div>
<div class="key graphKey">
<svg width="120" height="15" class="sKey noState">
<rect x="0" y="2" width="11" height="11" class="keyBox import"></rect>
<text x="18" y="11" class="keyText">Import</text>
<rect x="60" y="2" width="11" height="11" class="keyBox export"></rect>
<text x="78" y="11" class="keyText">Export</text>
</svg>
<svg width="205" height="15" class="sKey withState" style="display:none">
<rect x="0" y="2" width="11" height="11" class="keyBox import"></rect>
<text x="18" y="11" class="keyText">Import</text>
<rect x="60" y="2" width="11" height="11" class="keyBox export"></rect>
<text x="78" y="11" class="keyText">Export</text>
<rect x="120" y="5" class="mean" width="11" height="3"></rect>
<text x="138" y="11" class="keyText">National Mean</text>
</svg>
</div>
<div id="foodBar"></div>
</div>
<div id="transportationBar">
<h2>Transportation Mode, <span class="state">U.S.</span> <span class="year">2012</span></h2>
<div class="notes keyUnits">In Billions of Pounds</div>
<div class="key graphKey">
<svg width="120" height="15" class="sKey noState">
<rect x="0" y="2" width="11" height="11" class="keyBox import"></rect>
<text x="18" y="11" class="keyText">Import</text>
<rect x="60" y="2" width="11" height="11" class="keyBox export"></rect>
<text x="78" y="11" class="keyText">Export</text>
</svg>
<svg width="205" height="15" class="sKey withState" style="display:none">
<rect x="0" y="2" width="11" height="11" class="keyBox import"></rect>
<text x="18" y="11" class="keyText">Import</text>
<rect x="60" y="2" width="11" height="11" class="keyBox export"></rect>
<text x="78" y="11" class="keyText">Export</text>
<rect x="120" y="5" class="mean" width="11" height="3"></rect>
<text x="138" y="11" class="keyText">National Mean</text>
</svg>
</div>
<div id="transportBar"></div>
</div>
</div>
</body>
</html>