Last active
December 10, 2015 23:59
-
-
Save zachcp/4513379 to your computer and use it in GitHub Desktop.
Soil Animation Looping Issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<meta charset="utf-8"> | |
<head> | |
<style> | |
.states { | |
fill: #ccc; | |
stroke: #fff; | |
} | |
.symbol { | |
fill: steelblue; | |
fill-opacity: .8; | |
stroke: #fff; | |
} | |
#map { | |
margin:2%; | |
padding:20px; | |
border:2px solid #d0d0d0; | |
border-radius: 5px; | |
} | |
</style> | |
</head> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="http://d3js.org/topojson.v0.min.js"></script> | |
<script src="http://d3js.org/queue.v1.min.js"></script> | |
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'</script> | |
<h1>Soil Animation Test</h1> | |
<div id="map"></div> | |
<script> | |
var radius = d3.scale.sqrt() | |
.domain([0, 1e6]) | |
.range([0, 10]); | |
var projection = d3.geo.albers() | |
//.center([-111, 33]) | |
.rotate([112,4]) | |
.parallels([29, 3]) | |
//.translate([width/2,height/2]) | |
.scale(4500); | |
var path = d3.geo.path() | |
.projection(projection); | |
var svg = d3.select("#map") | |
.append("svg") | |
.append("g") | |
.attr("width", 960) | |
.attr("height", 540); | |
var soilprops; | |
var data; | |
// Queue and ready() will load the data | |
queue() | |
.defer(d3.json, "usa.json") | |
.defer(d3.json, "samples.json") | |
.await(ready); | |
function ready(error, us, samples) { | |
svg.append("path") | |
.attr("class", "states") | |
.datum(topojson.object(us, us.objects.states)) | |
.attr("d", path); | |
data = samples.features; | |
soilprops = d3.keys(data[0].properties).sort(); | |
svg.selectAll(".symbol") | |
.data(samples.features) | |
.enter().append("path") | |
.attr("class", "symbol") | |
.attr("d", path.pointRadius(function(d) { return radius(d.properties.Aluminum*100000); })); | |
//window.alert(soilprops); | |
// transition to loop through the Molecules | |
for (var i=0; i < soilprops.length; i++) { | |
update(soilprops[i]) }; | |
} | |
//this part is the size change function which requires jquery and the correct HTML id. | |
//this part will be the animation | |
function update(soilprops) { | |
svg.selectAll(".symbol") | |
.data(data) | |
//.transition() | |
//.delay(750) | |
//.duration(750) | |
.attr("d", path.pointRadius(function(d) { return radius(d.properties[soilprops]*100000); })); | |
window.alert(soilprops); | |
} | |
</script> | |
</div> | |
</div> | |
</div> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"1": {"Mercury": 0.0, "Sodium": 376.67, "pH Buffer ": 0.0, "LOI": 1.25, "Selenium": 0.02, "Long": -111.32721000000001, "Sulfur": 4.02, "pH": 7.82, "Lithium": 0.04, "Beryllium": 0.15, "Arsenic ": 0.07, "Lead ": 0.2, "Nickel": 0.02, "Aluminum": 7.23, "Date": "10/14/12", "Barium": 9.89, "Potassium": 257.41, "Strontium": 5.27, "Thallium": 0.02, "Cadmium": 0.03, "Boron": 0.21, "Lat": 33.358059999999995, "Phosphorus": 48.57, "Molybdenum": 0.0, "Vanadium": 0.01, "Notes": "Arid", "Manganese": 3.33, "Silicon": 21.78, "Calcium": 2182.48, "Magnesium": 113.76, "Iron": 0.46, "Antimonies": 0.46, "Copper": 0.26, "Organic_matter": 0.65, "Titan": 0.0, "Cobalt": 0.0, "Alt (ft)": 1853.0, "Moisture ": 0.85, "Chromium": 0.0, "Zink": 0.45}}, {"2": {"Mercury": 0.0, "Sodium": 445.47, "pH Buffer ": 0.0, "LOI": 1.12, "Selenium": 0.0, "Long": -111.30519, "Sulfur": 11.23, "pH": 8.22, "Lithium": 0.09, "Beryllium": 0.09, "Arsenic ": 0.07, "Lead ": 1.92, "Nickel": 0.03, "Aluminum": 11.33, "Date": "10/14/12", "Barium": 16.53, "Potassium": 155.6, "Strontium": 9.28, "Thallium": 0.0, "Cadmium": 0.1, "Boron": 0.18, "Lat": 33.43775, "Phosphorus": 6.44, "Molybdenum": 0.0, "Vanadium": 0.01, "Notes": "Arid", "Manganese": 8.46, "Silicon": 22.62, "Calcium": 7474.84, "Magnesium": 124.68, "Iron": 0.46, "Antimonies": 0.0, "Copper": 0.77, "Organic_matter": 0.55, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 2091.0, "Moisture ": 0.52, "Chromium": 0.0, "Zink": 4.39}}, {"3": {"Mercury": 0.0, "Sodium": 438.7, "pH Buffer ": 6.24, "LOI": 2.91, "Selenium": 0.02, "Long": -109.22896000000001, "Sulfur": 4.05, "pH": 6.73, "Lithium": 0.11, "Beryllium": 0.47, "Arsenic ": 0.06, "Lead ": 0.28, "Nickel": 0.06, "Aluminum": 11.01, "Date": "10/14/12", "Barium": 20.4, "Potassium": 223.27, "Strontium": 10.39, "Thallium": 0.04, "Cadmium": 0.03, "Boron": 0.18, "Lat": 34.21755, "Phosphorus": 7.07, "Molybdenum": 0.0, "Vanadium": 0.01, "Notes": 0, "Manganese": 4.32, "Silicon": 29.76, "Calcium": 1687.48, "Magnesium": 298.06, "Iron": 0.73, "Antimonies": 0.47, "Copper": 0.29, "Organic_matter": 1.81, "Titan": 0.0, "Cobalt": 0.02, "Alt (ft)": 6055.0, "Moisture ": 1.09, "Chromium": 0.0, "Zink": 0.72}}, {"4": {"Mercury": 0.0, "Sodium": 500.13, "pH Buffer ": 0.0, "LOI": 0.95, "Selenium": 0.0, "Long": -110.9396, "Sulfur": 8.19, "pH": 8.31, "Lithium": 0.14, "Beryllium": 0.12, "Arsenic ": 0.08, "Lead ": 0.09, "Nickel": 0.03, "Aluminum": 20.36, "Date": "10/14/12", "Barium": 14.71, "Potassium": 368.55, "Strontium": 12.51, "Thallium": 0.03, "Cadmium": 0.04, "Boron": 0.34, "Lat": 34.53717, "Phosphorus": 15.17, "Molybdenum": 0.0, "Vanadium": 0.01, "Notes": 0, "Manganese": 2.02, "Silicon": 41.78, "Calcium": 4545.2, "Magnesium": 157.88, "Iron": 0.26, "Antimonies": 0.2, "Copper": 1.08, "Organic_matter": 0.44, "Titan": 0.0, "Cobalt": 0.0, "Alt (ft)": 5084.0, "Moisture ": 0.98, "Chromium": 0.0, "Zink": 0.25}}, {"5": {"Mercury": 0.0, "Sodium": 1077.27, "pH Buffer ": 0.0, "LOI": 2.5, "Selenium": 0.0, "Long": -110.38235, "Sulfur": 36.91, "pH": 8.05, "Lithium": 0.19, "Beryllium": 0.15, "Arsenic ": 0.31, "Lead ": 0.08, "Nickel": 0.05, "Aluminum": 7.49, "Date": "10/15/12", "Barium": 23.28, "Potassium": 146.51, "Strontium": 21.5, "Thallium": 0.0, "Cadmium": 0.03, "Boron": 0.35, "Lat": 34.56431, "Phosphorus": 10.28, "Molybdenum": 0.0, "Vanadium": 0.09, "Notes": "Arid", "Manganese": 8.92, "Silicon": 17.51, "Calcium": 13526.16, "Magnesium": 148.07, "Iron": 0.8, "Antimonies": 0.0, "Copper": 0.33, "Organic_matter": 1.52, "Titan": 0.0, "Cobalt": 0.03, "Alt (ft)": 5040.0, "Moisture ": 0.4, "Chromium": 0.02, "Zink": 0.33}}, {"6": {"Mercury": 0.0, "Sodium": 449.93, "pH Buffer ": 0.0, "LOI": 2.53, "Selenium": 0.0, "Long": -110.38687, "Sulfur": 4.98, "pH": 7.52, "Lithium": 0.07, "Beryllium": 0.29, "Arsenic ": 0.05, "Lead ": 0.36, "Nickel": 0.04, "Aluminum": 10.92, "Date": "10/15/12", "Barium": 22.94, "Potassium": 321.66, "Strontium": 8.12, "Thallium": 0.04, "Cadmium": 0.09, "Boron": 0.38, "Lat": 35.04198, "Phosphorus": 18.27, "Molybdenum": 0.01, "Vanadium": 0.01, "Notes": 0, "Manganese": 6.8, "Silicon": 36.7, "Calcium": 2718.54, "Magnesium": 163.69, "Iron": 0.43, "Antimonies": 0.34, "Copper": 0.47, "Organic_matter": 1.54, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 4831.0, "Moisture ": 1.13, "Chromium": 0.0, "Zink": 0.98}}, {"7": {"Mercury": 0.0, "Sodium": 0.0, "pH Buffer ": 0.0, "LOI": 2.17, "Selenium": 0.0, "Long": -111.30835, "Sulfur": 273.95, "pH": 8.02, "Lithium": 0.27, "Beryllium": 0.13, "Arsenic ": 0.04, "Lead ": 0.96, "Nickel": 0.09, "Aluminum": 10.17, "Date": "10/15/12", "Barium": 12.28, "Potassium": 345.31, "Strontium": 0.0, "Thallium": 0.0, "Cadmium": 0.08, "Boron": 1.66, "Lat": 35.10607, "Phosphorus": 6.97, "Molybdenum": 0.0, "Vanadium": 0.0, "Notes": 0, "Manganese": 121.81, "Silicon": 25.55, "Calcium": 16558.55, "Magnesium": 462.92, "Iron": 0.94, "Antimonies": 0.0, "Copper": 0.39, "Organic_matter": 1.29, "Titan": 0.0, "Cobalt": 0.04, "Alt (ft)": 6747.0, "Moisture ": 1.83, "Chromium": 0.01, "Zink": 1.87}}, {"8": {"Mercury": 0.0, "Sodium": 634.17, "pH Buffer ": 6.27, "LOI": 1.83, "Selenium": 0.0, "Long": -111.46603, "Sulfur": 18.77, "pH": 6.55, "Lithium": 0.04, "Beryllium": 0.3, "Arsenic ": 0.05, "Lead ": 0.34, "Nickel": 0.04, "Aluminum": 9.18, "Date": "10/15/12", "Barium": 12.55, "Potassium": 136.77, "Strontium": 4.78, "Thallium": 0.0, "Cadmium": 0.06, "Boron": 0.08, "Lat": 34.51915, "Phosphorus": 6.07, "Molybdenum": 0.01, "Vanadium": 0.0, "Notes": 0, "Manganese": 17.8, "Silicon": 12.97, "Calcium": 1286.44, "Magnesium": 101.94, "Iron": 0.74, "Antimonies": 0.35, "Copper": 0.46, "Organic_matter": 1.05, "Titan": 0.0, "Cobalt": 0.02, "Alt (ft)": 4321.0, "Moisture ": 0.61, "Chromium": 0.0, "Zink": 1.68}}, {"9": {"Mercury": 0.0, "Sodium": 940.65, "pH Buffer ": 0.0, "LOI": 2.37, "Selenium": 0.0, "Long": -111.47303000000001, "Sulfur": 41.21, "pH": 8.35, "Lithium": 0.21, "Beryllium": 0.01, "Arsenic ": 0.03, "Lead ": 0.17, "Nickel": 0.06, "Aluminum": 8.79, "Date": "10/15/12", "Barium": 27.42, "Potassium": 299.25, "Strontium": 18.49, "Thallium": 0.0, "Cadmium": 0.04, "Boron": 0.53, "Lat": 34.44321, "Phosphorus": 16.41, "Molybdenum": 0.0, "Vanadium": 0.03, "Notes": 0, "Manganese": 12.13, "Silicon": 28.9, "Calcium": 17266.25, "Magnesium": 513.79, "Iron": 0.75, "Antimonies": 0.0, "Copper": 0.29, "Organic_matter": 1.43, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 3910.0, "Moisture ": 0.61, "Chromium": 0.01, "Zink": 0.24}}, {"10": {"Mercury": 0.0, "Sodium": 3232.91, "pH Buffer ": 0.0, "LOI": 1.25, "Selenium": 0.0, "Long": -111.4526, "Sulfur": 70.45, "pH": 8.07, "Lithium": 0.35, "Beryllium": 0.18, "Arsenic ": 0.16, "Lead ": 0.36, "Nickel": 0.08, "Aluminum": 16.75, "Date": "10/15/12", "Barium": 17.65, "Potassium": 415.41, "Strontium": 25.01, "Thallium": 0.02, "Cadmium": 0.05, "Boron": 1.06, "Lat": 34.392140000000005, "Phosphorus": 29.12, "Molybdenum": 0.0, "Vanadium": 0.02, "Notes": 0, "Manganese": 7.5, "Silicon": 59.25, "Calcium": 4283.93, "Magnesium": 510.39, "Iron": 0.5, "Antimonies": 0.33, "Copper": 0.87, "Organic_matter": 0.65, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 3640.0, "Moisture ": 1.64, "Chromium": 0.01, "Zink": 0.26}}, {"11": {"Mercury": 0.0, "Sodium": 610.42, "pH Buffer ": 0.0, "LOI": 0.78, "Selenium": 0.0, "Long": -111.45796999999999, "Sulfur": 11.33, "pH": 8.41, "Lithium": 0.09, "Beryllium": 0.06, "Arsenic ": 0.06, "Lead ": 0.24, "Nickel": 0.02, "Aluminum": 12.38, "Date": "10/15/12", "Barium": 41.28, "Potassium": 227.11, "Strontium": 0.0, "Thallium": 0.0, "Cadmium": 0.03, "Boron": 0.32, "Lat": 34.388909999999996, "Phosphorus": 11.28, "Molybdenum": 0.01, "Vanadium": 0.0, "Notes": 0, "Manganese": 79.75, "Silicon": 18.6, "Calcium": 10311.61, "Magnesium": 155.72, "Iron": 0.73, "Antimonies": 0.0, "Copper": 0.26, "Organic_matter": 0.31, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 3475.0, "Moisture ": 0.98, "Chromium": 0.0, "Zink": 0.33}}, {"12": {"Mercury": 0.0, "Sodium": 647.32, "pH Buffer ": 6.38, "LOI": 3.06, "Selenium": 0.0, "Long": -111.50876000000001, "Sulfur": 5.64, "pH": 6.84, "Lithium": 0.15, "Beryllium": 0.26, "Arsenic ": 0.06, "Lead ": 0.04, "Nickel": 0.31, "Aluminum": 21.85, "Date": "10/15/12", "Barium": 53.79, "Potassium": 261.09, "Strontium": 17.29, "Thallium": 0.1, "Cadmium": 0.03, "Boron": 0.16, "Lat": 34.36824, "Phosphorus": 2.35, "Molybdenum": 0.0, "Vanadium": 0.02, "Notes": "Arid", "Manganese": 3.13, "Silicon": 64.07, "Calcium": 2101.05, "Magnesium": 780.61, "Iron": 2.44, "Antimonies": 0.39, "Copper": 0.33, "Organic_matter": 1.91, "Titan": 0.01, "Cobalt": 0.02, "Alt (ft)": 3280.0, "Moisture ": 1.8, "Chromium": 0.01, "Zink": 0.38}}, {"13": {"Mercury": 0.0, "Sodium": 2970.45, "pH Buffer ": 0.0, "LOI": 1.98, "Selenium": 0.0, "Long": -111.54618, "Sulfur": 56.71, "pH": 8.0, "Lithium": 0.48, "Beryllium": 0.14, "Arsenic ": 0.12, "Lead ": 0.22, "Nickel": 0.52, "Aluminum": 17.34, "Date": "10/15/12", "Barium": 29.47, "Potassium": 529.88, "Strontium": 0.0, "Thallium": 0.0, "Cadmium": 0.04, "Boron": 1.01, "Lat": 34.33726, "Phosphorus": 21.14, "Molybdenum": 0.01, "Vanadium": 0.02, "Notes": 0, "Manganese": 12.3, "Silicon": 62.6, "Calcium": 7033.74, "Magnesium": 762.36, "Iron": 0.78, "Antimonies": 0.44, "Copper": 0.36, "Organic_matter": 1.15, "Titan": 0.0, "Cobalt": 0.02, "Alt (ft)": 3513.0, "Moisture ": 1.94, "Chromium": 0.02, "Zink": 0.32}}, {"14": {"Mercury": 0.0, "Sodium": 867.44, "pH Buffer ": 0.0, "LOI": 14.58, "Selenium": 0.0, "Long": -112.3839, "Sulfur": 17.1, "pH": 7.42, "Lithium": 0.09, "Beryllium": 0.03, "Arsenic ": 0.09, "Lead ": 2.49, "Nickel": 0.11, "Aluminum": 6.86, "Date": "10/15/12", "Barium": 10.64, "Potassium": 310.23, "Strontium": 6.09, "Thallium": 0.05, "Cadmium": 0.27, "Boron": 5.92, "Lat": 34.23854, "Phosphorus": 7.21, "Molybdenum": 0.01, "Vanadium": 0.01, "Notes": 0, "Manganese": 12.35, "Silicon": 27.46, "Calcium": 5203.89, "Magnesium": 960.44, "Iron": 2.72, "Antimonies": 0.64, "Copper": 0.38, "Organic_matter": 9.97, "Titan": 0.0, "Cobalt": 0.03, "Alt (ft)": 3795.0, "Moisture ": 2.06, "Chromium": 0.01, "Zink": 2.76}}, {"15": {"Mercury": 0.0, "Sodium": 0.0, "pH Buffer ": 0.0, "LOI": 2.56, "Selenium": 0.0, "Long": -112.6871, "Sulfur": 1005.45, "pH": 7.86, "Lithium": 0.84, "Beryllium": 0.0, "Arsenic ": 0.32, "Lead ": 0.27, "Nickel": 0.07, "Aluminum": 2.28, "Date": "10/15/12", "Barium": 7.85, "Potassium": 464.9, "Strontium": 0.0, "Thallium": 0.0, "Cadmium": 0.05, "Boron": 2.68, "Lat": 34.16685, "Phosphorus": 24.32, "Molybdenum": 0.01, "Vanadium": 0.11, "Notes": "Arid", "Manganese": 4.74, "Silicon": 41.18, "Calcium": 17776.77, "Magnesium": 615.09, "Iron": 0.24, "Antimonies": 0.0, "Copper": 0.38, "Organic_matter": 1.56, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 3535.0, "Moisture ": 1.39, "Chromium": 0.03, "Zink": 0.1}}, {"16": {"Mercury": 0.0, "Sodium": 641.34, "pH Buffer ": 0.0, "LOI": 1.92, "Selenium": 0.0, "Long": -111.28156000000001, "Sulfur": 12.97, "pH": 8.07, "Lithium": 0.17, "Beryllium": 0.04, "Arsenic ": 0.1, "Lead ": 0.25, "Nickel": 0.06, "Aluminum": 8.21, "Date": "10/21/12", "Barium": 43.02, "Potassium": 362.91, "Strontium": 8.74, "Thallium": 0.0, "Cadmium": 0.14, "Boron": 0.76, "Lat": 33.28233, "Phosphorus": 20.69, "Molybdenum": 0.0, "Vanadium": 0.01, "Notes": 0, "Manganese": 4.06, "Silicon": 40.59, "Calcium": 13405.22, "Magnesium": 292.39, "Iron": 0.61, "Antimonies": 0.0, "Copper": 0.23, "Organic_matter": 1.11, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 2146.0, "Moisture ": 1.16, "Chromium": 0.01, "Zink": 0.24}}, {"17": {"Mercury": 0.0, "Sodium": 399.74, "pH Buffer ": 0.0, "LOI": 0.95, "Selenium": 0.0, "Long": -111.2785, "Sulfur": 3.81, "pH": 7.38, "Lithium": 0.07, "Beryllium": 0.14, "Arsenic ": 0.06, "Lead ": 0.12, "Nickel": 0.05, "Aluminum": 12.06, "Date": "10/21/12", "Barium": 18.36, "Potassium": 257.02, "Strontium": 10.79, "Thallium": 0.07, "Cadmium": 0.03, "Boron": 0.19, "Lat": 33.296820000000004, "Phosphorus": 22.64, "Molybdenum": 0.01, "Vanadium": 0.0, "Notes": 0, "Manganese": 3.17, "Silicon": 21.71, "Calcium": 1233.46, "Magnesium": 171.62, "Iron": 0.52, "Antimonies": 0.27, "Copper": 0.3, "Organic_matter": 0.43, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 2095.0, "Moisture ": 0.84, "Chromium": 0.0, "Zink": 0.38}}, {"18": {"Mercury": 0.0, "Sodium": 630.85, "pH Buffer ": 0.0, "LOI": 2.39, "Selenium": 0.0, "Long": -111.40992, "Sulfur": 15.43, "pH": 8.07, "Lithium": 0.31, "Beryllium": 0.0, "Arsenic ": 0.62, "Lead ": 0.09, "Nickel": 0.21, "Aluminum": 4.46, "Date": "10/21/12", "Barium": 77.77, "Potassium": 359.84, "Strontium": 23.54, "Thallium": 0.0, "Cadmium": 0.06, "Boron": 0.36, "Lat": 33.20114, "Phosphorus": 8.42, "Molybdenum": 0.0, "Vanadium": 0.05, "Notes": "Farm", "Manganese": 6.97, "Silicon": 45.04, "Calcium": 22955.94, "Magnesium": 314.48, "Iron": 0.6, "Antimonies": 0.0, "Copper": 0.26, "Organic_matter": 1.44, "Titan": 0.0, "Cobalt": 0.02, "Alt (ft)": 1181.0, "Moisture ": 2.64, "Chromium": 0.19, "Zink": 0.18}}, {"19": {"Mercury": 0.0, "Sodium": 0.0, "pH Buffer ": 0.0, "LOI": 2.78, "Selenium": 0.0, "Long": -111.39158, "Sulfur": 59.88, "pH": 8.01, "Lithium": 0.8, "Beryllium": 0.0, "Arsenic ": 0.13, "Lead ": 0.28, "Nickel": 0.17, "Aluminum": 2.54, "Date": "10/21/12", "Barium": 22.86, "Potassium": 379.81, "Strontium": 0.0, "Thallium": 0.0, "Cadmium": 0.06, "Boron": 1.42, "Lat": 33.11833, "Phosphorus": 46.62, "Molybdenum": 0.0, "Vanadium": 0.04, "Notes": 0, "Manganese": 9.87, "Silicon": 34.41, "Calcium": 18082.37, "Magnesium": 580.36, "Iron": 0.74, "Antimonies": 0.0, "Copper": 0.61, "Organic_matter": 1.71, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 1409.0, "Moisture ": 1.3, "Chromium": 0.03, "Zink": 0.83}}, {"20": {"Mercury": 0.0, "Sodium": 836.9, "pH Buffer ": 0.0, "LOI": 5.5, "Selenium": 0.0, "Long": -111.5123, "Sulfur": 35.8, "pH": 7.96, "Lithium": 0.7, "Beryllium": 0.0, "Arsenic ": 3.05, "Lead ": 0.53, "Nickel": 0.29, "Aluminum": 1.26, "Date": "10/21/12", "Barium": 57.02, "Potassium": 604.33, "Strontium": 26.14, "Thallium": 0.0, "Cadmium": 0.15, "Boron": 3.08, "Lat": 33.11647, "Phosphorus": 31.74, "Molybdenum": 0.0, "Vanadium": 0.07, "Notes": 0, "Manganese": 15.41, "Silicon": 41.49, "Calcium": 23431.37, "Magnesium": 743.89, "Iron": 1.39, "Antimonies": 0.0, "Copper": 0.23, "Organic_matter": 3.62, "Titan": 0.0, "Cobalt": 0.08, "Alt (ft)": 1145.0, "Moisture ": 1.93, "Chromium": 0.61, "Zink": 3.81}}, {"21": {"Mercury": 0.0, "Sodium": 1595.86, "pH Buffer ": 0.0, "LOI": 2.45, "Selenium": 0.0, "Long": -111.4557, "Sulfur": 18.21, "pH": 7.97, "Lithium": 0.72, "Beryllium": 0.0, "Arsenic ": 0.08, "Lead ": 0.7, "Nickel": 0.22, "Aluminum": 4.81, "Date": "10/21/12", "Barium": 92.78, "Potassium": 830.59, "Strontium": 0.0, "Thallium": 0.0, "Cadmium": 0.06, "Boron": 1.07, "Lat": 33.27089, "Phosphorus": 23.13, "Molybdenum": 0.0, "Vanadium": 0.05, "Notes": "Farm - Orange grove", "Manganese": 4.06, "Silicon": 64.45, "Calcium": 26812.56, "Magnesium": 3014.24, "Iron": 1.17, "Antimonies": 0.0, "Copper": 0.33, "Organic_matter": 1.49, "Titan": 0.0, "Cobalt": 0.03, "Alt (ft)": 1300.0, "Moisture ": 2.98, "Chromium": 0.09, "Zink": 0.19}}, {"22": {"Mercury": 0.0, "Sodium": 359.01, "pH Buffer ": 0.0, "LOI": 1.18, "Selenium": 0.0, "Long": -111.44886000000001, "Sulfur": 4.11, "pH": 7.91, "Lithium": 0.05, "Beryllium": 0.1, "Arsenic ": 0.04, "Lead ": 0.07, "Nickel": 0.03, "Aluminum": 10.28, "Date": "10/21/12", "Barium": 21.15, "Potassium": 181.91, "Strontium": 6.99, "Thallium": 0.08, "Cadmium": 0.02, "Boron": 0.22, "Lat": 33.30591, "Phosphorus": 21.34, "Molybdenum": 0.01, "Vanadium": 0.0, "Notes": 0, "Manganese": 2.94, "Silicon": 20.46, "Calcium": 1620.35, "Magnesium": 111.12, "Iron": 0.35, "Antimonies": 0.31, "Copper": 0.17, "Organic_matter": 0.59, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 1267.0, "Moisture ": 0.59, "Chromium": 0.0, "Zink": 0.21}}, {"23": {"Mercury": 0.0, "Sodium": 543.15, "pH Buffer ": 0.0, "LOI": 1.78, "Selenium": 0.0, "Long": -111.41787, "Sulfur": 11.94, "pH": 8.18, "Lithium": 0.16, "Beryllium": 0.0, "Arsenic ": 0.04, "Lead ": 0.24, "Nickel": 0.09, "Aluminum": 5.4, "Date": "10/21/12", "Barium": 18.83, "Potassium": 199.12, "Strontium": 18.96, "Thallium": 0.0, "Cadmium": 0.07, "Boron": 0.22, "Lat": 33.40036, "Phosphorus": 9.83, "Molybdenum": 0.0, "Vanadium": 0.02, "Notes": 0, "Manganese": 7.31, "Silicon": 23.91, "Calcium": 15872.92, "Magnesium": 491.84, "Iron": 0.71, "Antimonies": 0.0, "Copper": 0.24, "Organic_matter": 1.02, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 1579.0, "Moisture ": 1.34, "Chromium": 0.08, "Zink": 0.22}}, {"24": {"Mercury": 0.0, "Sodium": 1023.03, "pH Buffer ": 0.0, "LOI": 3.67, "Selenium": 0.0, "Long": -111.09028, "Sulfur": 8.94, "pH": 7.53, "Lithium": 0.15, "Beryllium": 0.2, "Arsenic ": 0.08, "Lead ": 0.06, "Nickel": 0.41, "Aluminum": 25.28, "Date": "10/20/12", "Barium": 46.27, "Potassium": 396.44, "Strontium": 0.0, "Thallium": 0.1, "Cadmium": 0.03, "Boron": 0.66, "Lat": 31.967240000000004, "Phosphorus": 6.47, "Molybdenum": 0.01, "Vanadium": 0.03, "Notes": 0, "Manganese": 3.43, "Silicon": 84.24, "Calcium": 5226.28, "Magnesium": 925.49, "Iron": 0.53, "Antimonies": 0.32, "Copper": 0.27, "Organic_matter": 2.34, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 3503.0, "Moisture ": 3.68, "Chromium": 0.01, "Zink": 0.15}}, {"25": {"Mercury": 0.0, "Sodium": 560.29, "pH Buffer ": 6.45, "LOI": 2.24, "Selenium": 0.01, "Long": -110.91076000000001, "Sulfur": 17.54, "pH": 6.74, "Lithium": 0.07, "Beryllium": 0.17, "Arsenic ": 0.09, "Lead ": 0.21, "Nickel": 0.06, "Aluminum": 12.31, "Date": "10/20/12", "Barium": 45.22, "Potassium": 135.19, "Strontium": 7.73, "Thallium": 0.09, "Cadmium": 0.04, "Boron": 0.11, "Lat": 31.95468, "Phosphorus": 3.97, "Molybdenum": 0.01, "Vanadium": 0.01, "Notes": 0, "Manganese": 3.75, "Silicon": 17.88, "Calcium": 1593.88, "Magnesium": 255.93, "Iron": 1.07, "Antimonies": 0.38, "Copper": 0.28, "Organic_matter": 1.34, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 2784.0, "Moisture ": 0.97, "Chromium": 0.0, "Zink": 0.95}}, {"26": {"Mercury": 0.0, "Sodium": 768.22, "pH Buffer ": 0.0, "LOI": 2.17, "Selenium": 0.0, "Long": -111.01673999999998, "Sulfur": 33.63, "pH": 8.04, "Lithium": 0.41, "Beryllium": 0.01, "Arsenic ": 0.09, "Lead ": 0.37, "Nickel": 0.04, "Aluminum": 4.46, "Date": "10/20/12", "Barium": 24.79, "Potassium": 367.02, "Strontium": 0.0, "Thallium": 0.0, "Cadmium": 0.07, "Boron": 0.6, "Lat": 32.223890000000004, "Phosphorus": 24.02, "Molybdenum": 0.0, "Vanadium": 0.01, "Notes": 0, "Manganese": 4.14, "Silicon": 39.33, "Calcium": 20916.02, "Magnesium": 519.31, "Iron": 0.4, "Antimonies": 0.0, "Copper": 0.27, "Organic_matter": 1.29, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 2508.0, "Moisture ": 1.38, "Chromium": 0.02, "Zink": 0.15}}, {"27": {"Mercury": 0.0, "Sodium": 455.33, "pH Buffer ": 0.0, "LOI": 1.11, "Selenium": 0.0, "Long": -111.10163, "Sulfur": 6.72, "pH": 8.25, "Lithium": 0.07, "Beryllium": 0.11, "Arsenic ": 0.06, "Lead ": 0.25, "Nickel": 0.03, "Aluminum": 11.25, "Date": "10/20/12", "Barium": 13.52, "Potassium": 158.71, "Strontium": 12.41, "Thallium": 0.06, "Cadmium": 0.05, "Boron": 0.2, "Lat": 32.223890000000004, "Phosphorus": 20.63, "Molybdenum": 0.0, "Vanadium": 0.01, "Notes": 0, "Manganese": 3.72, "Silicon": 17.59, "Calcium": 3784.13, "Magnesium": 117.07, "Iron": 0.67, "Antimonies": 0.14, "Copper": 0.32, "Organic_matter": 0.54, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 3580.0, "Moisture ": 0.76, "Chromium": 0.01, "Zink": 0.38}}, {"28": {"Mercury": 0.0, "Sodium": 2882.67, "pH Buffer ": 0.0, "LOI": 2.33, "Selenium": 0.02, "Long": -111.19073, "Sulfur": 14.03, "pH": 7.7, "Lithium": 0.31, "Beryllium": 0.23, "Arsenic ": 0.16, "Lead ": 0.27, "Nickel": 0.11, "Aluminum": 11.91, "Date": "10/21/12", "Barium": 26.32, "Potassium": 298.16, "Strontium": 23.57, "Thallium": 0.14, "Cadmium": 0.05, "Boron": 0.71, "Lat": 32.40247, "Phosphorus": 28.95, "Molybdenum": 0.01, "Vanadium": 0.01, "Notes": 0, "Manganese": 3.64, "Silicon": 51.95, "Calcium": 2334.18, "Magnesium": 559.04, "Iron": 0.59, "Antimonies": 0.47, "Copper": 0.28, "Organic_matter": 1.4, "Titan": 0.0, "Cobalt": 0.0, "Alt (ft)": 2501.0, "Moisture ": 1.76, "Chromium": 0.02, "Zink": 0.54}}, {"29": {"Mercury": 0.0, "Sodium": 526.3, "pH Buffer ": 0.0, "LOI": 2.77, "Selenium": 0.0, "Long": -111.48723000000001, "Sulfur": 16.59, "pH": 7.78, "Lithium": 0.11, "Beryllium": 0.11, "Arsenic ": 0.08, "Lead ": 0.96, "Nickel": 0.04, "Aluminum": 13.23, "Date": "10/21/12", "Barium": 25.33, "Potassium": 290.38, "Strontium": 12.97, "Thallium": 0.04, "Cadmium": 0.06, "Boron": 0.62, "Lat": 32.73455, "Phosphorus": 26.34, "Molybdenum": 0.01, "Vanadium": 0.01, "Notes": 0, "Manganese": 11.37, "Silicon": 27.58, "Calcium": 6695.21, "Magnesium": 163.37, "Iron": 0.86, "Antimonies": 0.18, "Copper": 0.36, "Organic_matter": 1.71, "Titan": 0.0, "Cobalt": 0.03, "Alt (ft)": 1578.0, "Moisture ": 1.12, "Chromium": 0.01, "Zink": 0.94}}, {"30": {"Mercury": 0.0, "Sodium": 893.44, "pH Buffer ": 0.0, "LOI": 1.14, "Selenium": 0.0, "Long": -111.60588, "Sulfur": 25.36, "pH": 8.33, "Lithium": 0.39, "Beryllium": 0.07, "Arsenic ": 0.16, "Lead ": 0.19, "Nickel": 0.06, "Aluminum": 13.97, "Date": "10/21/12", "Barium": 21.45, "Potassium": 540.84, "Strontium": 0.0, "Thallium": 0.02, "Cadmium": 0.05, "Boron": 0.75, "Lat": 32.9233, "Phosphorus": 25.1, "Molybdenum": 0.01, "Vanadium": 0.01, "Notes": 0, "Manganese": 7.91, "Silicon": 38.81, "Calcium": 10723.55, "Magnesium": 322.09, "Iron": 0.37, "Antimonies": 0.04, "Copper": 0.49, "Organic_matter": 0.56, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 1381.0, "Moisture ": 1.27, "Chromium": 0.03, "Zink": 0.25}}, {"31": {"Mercury": 0.0, "Sodium": 445.57, "pH Buffer ": 0.0, "LOI": 0.99, "Selenium": 0.01, "Long": -111.68881, "Sulfur": 7.16, "pH": 7.9, "Lithium": 0.07, "Beryllium": 0.18, "Arsenic ": 0.13, "Lead ": 0.1, "Nickel": 0.07, "Aluminum": 16.25, "Date": "10/21/12", "Barium": 22.36, "Potassium": 382.54, "Strontium": 8.86, "Thallium": 0.1, "Cadmium": 0.03, "Boron": 0.36, "Lat": 32.951570000000004, "Phosphorus": 40.33, "Molybdenum": 0.01, "Vanadium": 0.0, "Notes": 0, "Manganese": 4.97, "Silicon": 30.28, "Calcium": 1911.12, "Magnesium": 150.15, "Iron": 0.42, "Antimonies": 0.46, "Copper": 0.27, "Organic_matter": 0.46, "Titan": 0.0, "Cobalt": 0.02, "Alt (ft)": 1457.0, "Moisture ": 0.87, "Chromium": 0.0, "Zink": 0.34}}, {"32": {"Mercury": 0.0, "Sodium": 462.33, "pH Buffer ": 0.0, "LOI": 1.35, "Selenium": 0.01, "Long": -112.18619, "Sulfur": 8.14, "pH": 7.52, "Lithium": 0.08, "Beryllium": 0.16, "Arsenic ": 0.09, "Lead ": 0.11, "Nickel": 0.05, "Aluminum": 8.44, "Date": "10/21/12", "Barium": 15.73, "Potassium": 286.51, "Strontium": 8.28, "Thallium": 0.1, "Cadmium": 0.03, "Boron": 0.39, "Lat": 33.36074, "Phosphorus": 20.1, "Molybdenum": 0.01, "Vanadium": 0.01, "Notes": 0, "Manganese": 3.04, "Silicon": 26.32, "Calcium": 1764.57, "Magnesium": 154.2, "Iron": 0.59, "Antimonies": 0.4, "Copper": 0.2, "Organic_matter": 0.72, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 998.0, "Moisture ": 0.76, "Chromium": 0.0, "Zink": 0.31}}, {"33": {"Mercury": 0.0, "Sodium": 462.33, "pH Buffer ": 0.0, "LOI": 2.0, "Selenium": 0.01, "Long": -112.58228999999999, "Sulfur": 8.14, "pH": 8.0, "Lithium": 0.08, "Beryllium": 0.16, "Arsenic ": 0.09, "Lead ": 0.11, "Nickel": 0.05, "Aluminum": 9.03, "Date": "10/21/12", "Barium": 15.73, "Potassium": 286.51, "Strontium": 8.28, "Thallium": 0.1, "Cadmium": 0.03, "Boron": 0.39, "Lat": 33.66005, "Phosphorus": 20.1, "Molybdenum": 0.01, "Vanadium": 0.01, "Notes": 0, "Manganese": 3.04, "Silicon": 26.32, "Calcium": 1764.57, "Magnesium": 154.2, "Iron": 0.59, "Antimonies": 0.4, "Copper": 0.2, "Organic_matter": 1.17, "Titan": 0.0, "Cobalt": 0.01, "Alt (ft)": 1508.0, "Moisture ": 1.41, "Chromium": 0.0, "Zink": 0.31}}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
change html name so it can be viewed in bl.ocks