Skip to content

Instantly share code, notes, and snippets.

@ramnathv
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramnathv/bb5197de234625d74dfa to your computer and use it in GitHub Desktop.
Save ramnathv/bb5197de234625d74dfa to your computer and use it in GitHub Desktop.
More Histograms
{"description":"More Histograms","endpoint":"","display":"div","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"data.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"inlet.coffee":{"default":true,"vim":false,"emacs":false,"fontSize":12},"iris.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"ajax-caching":true,"thumbnail":"http://i.imgur.com/TNDfOD8.png"}
[{"ERU":"1861-11-25","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-27","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-02","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-28","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-27","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-29","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-11-28","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-26","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-11-30","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-25","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-11-30","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-25","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-29","SEX":"female","C":"lobar pneumonia"},{"ERU":"1861-11-29","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-11-25","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-25","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-27","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-24","SEX":"male","C":"severe bronchitis"},{"ERU":"1861-11-27","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-29","SEX":"female","C":"severe bronchitis"},{"ERU":"1861-11-25","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-25","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-04","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-04","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-27","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-02","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-11-30","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-02","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-29","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-24","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-11-24","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-26","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-11-26","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-11-30","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-02","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-05","C":"no complicatons"},{"ERU":"1861-11-26","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-29","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-11-19","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-30","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-24","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-13","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-27","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-27","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-12-05","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-04","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-29","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-26","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-04","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-03","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-11-27","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-06","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-02","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-17","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-03","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-26","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"male","C":"lobar pneumonia"},{"ERU":"1861-12-06","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-27","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-26","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-12-05","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-04","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-26","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-04","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"severe bronchitis"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-05","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-26","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-03","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-04","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-25","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-12","SEX":"male","C":"cerebral edema"},{"ERU":"1861-12-10","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-07","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-07","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-08","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-26","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-12-06","SEX":"male","C":"pseudocroup"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-05","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-05","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-11-25","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-10","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-12-08","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-09","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-09","C":"bronchopneumonia"},{"ERU":"1861-12-09","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-05","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-07","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-06","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-12-05","C":"no complicatons"},{"ERU":"1861-12-11","C":"no complicatons"},{"ERU":"1861-12-10","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-27","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-09","SEX":"male","C":"bronchopneumonia"},{"ERU":"1861-12-15","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-11","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-08","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-27","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-04","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-13","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-24","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-13","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-13","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-16","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-16","SEX":"female","C":"no complicatons"},{"ERU":"1861-12-16","SEX":"female","C":"bronchopneumonia"},{"ERU":"1861-12-15","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-19","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-18","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-15","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-10","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-17","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-21","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-03","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-08","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-15","SEX":"male","C":"no complicatons"},{"ERU":"1861-12-15","C":"no complicatons"},{"ERU":"1861-11-11","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-11","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-21","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-21","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-17","SEX":"female","C":"no complicatons"},{"ERU":"1861-11-18","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-15","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-06","C":"no complicatons"},{"ERU":"1861-12-07","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-26","C":"no complicatons"},{"ERU":"1861-12-11","SEX":"male","C":"no complicatons"},{"ERU":"1861-11-27","C":"no complicatons"}]
d3.viz = {} if !d3.viz
d3.viz.histogram = (S, A) ->
viz = this
opts = {
bins: 10
}
statistic = d3.layout.histogram()
.bins(opts.bins)
.value(A.x)
attrs =
x: (d) -> S.x d.x
y: (d) -> S.y d.y
width: null
height: (d) -> S.y.range()[0] - S.y d.y
exports = (selection) ->
selection.each (data) ->
S.x.domain d3.extent(data, A.x)
console.log d3.extent(data, A.x)
data = statistic(data)
S.y.domain [0, d3.max(data, (d) -> d.y)]
attrs.width = S.x.range()[1]*0.90/data.length
###
chart = d3.select(this).append("g")
.attr("class", "hist bars")
.selectAll("rect")
.data(data).enter()
.append("rect")
.attr attrs
###
container = d3.select(this)
g = container.selectAll("g").data([data])
gEnter = g.enter().append("g").attr("class", "hist bars")
chart = container.select(".hist").selectAll("rect")
.data(data).enter()
.append("rect").attr(attrs)
d3.rebind(exports, chart, 'attr')
d3.rebind(exports, statistic, 'bins')
exports
###
iris_ = tributary.iris
iris = d3.nest()
.key((d) -> d.Species)
.entries(tributary.iris)
.map((d) -> d.values)
A =
x: (d) -> d["Petal.Length"]
S =
x: d3.scale.linear().range([0, O.width])
y: d3.scale.linear().range([O.height, 0])
###
O =
margin: {top: 20, bottom: 20, left: 20, right: 20}
width: 546
height: 200
O.W = O.width + O.margin.left + O.margin.right
O.H = O.height + O.margin.top + O.margin.bottom
data = tributary.data.map (d) ->
d.ERU = d3.time.format('%Y-%m-%d').parse(d.ERU)
d
A =
x: (d) -> d.ERU
S =
x: d3.time.scale().range([0, O.width])
y: d3.scale.linear().range([O.height, 0])
display = d3.select("#display")
divs = display.selectAll("div")
.data([data, data, data])
chart = divs.enter().append("svg")
.attr({width: O.W, height: O.H})
.append("g")
.attr("transform", "translate(#{O.margin.left}, #{O.margin.top})")
#S.x.domain d3.extent(data, A.x)
hist = d3.viz.histogram(S, A)
.attr("fill", "darkred")
chart.each (d, i) ->
nbins = [10, S.x.ticks(13), 20]
d3.select(this).call(hist.bins(nbins[i]))
[{"Sepal.Length":5.1,"Sepal.Width":3.5,"Petal.Length":1.4,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.9,"Sepal.Width":3,"Petal.Length":1.4,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.7,"Sepal.Width":3.2,"Petal.Length":1.3,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.6,"Sepal.Width":3.1,"Petal.Length":1.5,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5,"Sepal.Width":3.6,"Petal.Length":1.4,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5.4,"Sepal.Width":3.9,"Petal.Length":1.7,"Petal.Width":0.4,"Species":"setosa"},{"Sepal.Length":4.6,"Sepal.Width":3.4,"Petal.Length":1.4,"Petal.Width":0.3,"Species":"setosa"},{"Sepal.Length":5,"Sepal.Width":3.4,"Petal.Length":1.5,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.4,"Sepal.Width":2.9,"Petal.Length":1.4,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.9,"Sepal.Width":3.1,"Petal.Length":1.5,"Petal.Width":0.1,"Species":"setosa"},{"Sepal.Length":5.4,"Sepal.Width":3.7,"Petal.Length":1.5,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.8,"Sepal.Width":3.4,"Petal.Length":1.6,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.8,"Sepal.Width":3,"Petal.Length":1.4,"Petal.Width":0.1,"Species":"setosa"},{"Sepal.Length":4.3,"Sepal.Width":3,"Petal.Length":1.1,"Petal.Width":0.1,"Species":"setosa"},{"Sepal.Length":5.8,"Sepal.Width":4,"Petal.Length":1.2,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5.7,"Sepal.Width":4.4,"Petal.Length":1.5,"Petal.Width":0.4,"Species":"setosa"},{"Sepal.Length":5.4,"Sepal.Width":3.9,"Petal.Length":1.3,"Petal.Width":0.4,"Species":"setosa"},{"Sepal.Length":5.1,"Sepal.Width":3.5,"Petal.Length":1.4,"Petal.Width":0.3,"Species":"setosa"},{"Sepal.Length":5.7,"Sepal.Width":3.8,"Petal.Length":1.7,"Petal.Width":0.3,"Species":"setosa"},{"Sepal.Length":5.1,"Sepal.Width":3.8,"Petal.Length":1.5,"Petal.Width":0.3,"Species":"setosa"},{"Sepal.Length":5.4,"Sepal.Width":3.4,"Petal.Length":1.7,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5.1,"Sepal.Width":3.7,"Petal.Length":1.5,"Petal.Width":0.4,"Species":"setosa"},{"Sepal.Length":4.6,"Sepal.Width":3.6,"Petal.Length":1,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5.1,"Sepal.Width":3.3,"Petal.Length":1.7,"Petal.Width":0.5,"Species":"setosa"},{"Sepal.Length":4.8,"Sepal.Width":3.4,"Petal.Length":1.9,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5,"Sepal.Width":3,"Petal.Length":1.6,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5,"Sepal.Width":3.4,"Petal.Length":1.6,"Petal.Width":0.4,"Species":"setosa"},{"Sepal.Length":5.2,"Sepal.Width":3.5,"Petal.Length":1.5,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5.2,"Sepal.Width":3.4,"Petal.Length":1.4,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.7,"Sepal.Width":3.2,"Petal.Length":1.6,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.8,"Sepal.Width":3.1,"Petal.Length":1.6,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5.4,"Sepal.Width":3.4,"Petal.Length":1.5,"Petal.Width":0.4,"Species":"setosa"},{"Sepal.Length":5.2,"Sepal.Width":4.1,"Petal.Length":1.5,"Petal.Width":0.1,"Species":"setosa"},{"Sepal.Length":5.5,"Sepal.Width":4.2,"Petal.Length":1.4,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.9,"Sepal.Width":3.1,"Petal.Length":1.5,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5,"Sepal.Width":3.2,"Petal.Length":1.2,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5.5,"Sepal.Width":3.5,"Petal.Length":1.3,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.9,"Sepal.Width":3.6,"Petal.Length":1.4,"Petal.Width":0.1,"Species":"setosa"},{"Sepal.Length":4.4,"Sepal.Width":3,"Petal.Length":1.3,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5.1,"Sepal.Width":3.4,"Petal.Length":1.5,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5,"Sepal.Width":3.5,"Petal.Length":1.3,"Petal.Width":0.3,"Species":"setosa"},{"Sepal.Length":4.5,"Sepal.Width":2.3,"Petal.Length":1.3,"Petal.Width":0.3,"Species":"setosa"},{"Sepal.Length":4.4,"Sepal.Width":3.2,"Petal.Length":1.3,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5,"Sepal.Width":3.5,"Petal.Length":1.6,"Petal.Width":0.6,"Species":"setosa"},{"Sepal.Length":5.1,"Sepal.Width":3.8,"Petal.Length":1.9,"Petal.Width":0.4,"Species":"setosa"},{"Sepal.Length":4.8,"Sepal.Width":3,"Petal.Length":1.4,"Petal.Width":0.3,"Species":"setosa"},{"Sepal.Length":5.1,"Sepal.Width":3.8,"Petal.Length":1.6,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":4.6,"Sepal.Width":3.2,"Petal.Length":1.4,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5.3,"Sepal.Width":3.7,"Petal.Length":1.5,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":5,"Sepal.Width":3.3,"Petal.Length":1.4,"Petal.Width":0.2,"Species":"setosa"},{"Sepal.Length":7,"Sepal.Width":3.2,"Petal.Length":4.7,"Petal.Width":1.4,"Species":"versicolor"},{"Sepal.Length":6.4,"Sepal.Width":3.2,"Petal.Length":4.5,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":6.9,"Sepal.Width":3.1,"Petal.Length":4.9,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":5.5,"Sepal.Width":2.3,"Petal.Length":4,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":6.5,"Sepal.Width":2.8,"Petal.Length":4.6,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":5.7,"Sepal.Width":2.8,"Petal.Length":4.5,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":6.3,"Sepal.Width":3.3,"Petal.Length":4.7,"Petal.Width":1.6,"Species":"versicolor"},{"Sepal.Length":4.9,"Sepal.Width":2.4,"Petal.Length":3.3,"Petal.Width":1,"Species":"versicolor"},{"Sepal.Length":6.6,"Sepal.Width":2.9,"Petal.Length":4.6,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":5.2,"Sepal.Width":2.7,"Petal.Length":3.9,"Petal.Width":1.4,"Species":"versicolor"},{"Sepal.Length":5,"Sepal.Width":2,"Petal.Length":3.5,"Petal.Width":1,"Species":"versicolor"},{"Sepal.Length":5.9,"Sepal.Width":3,"Petal.Length":4.2,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":6,"Sepal.Width":2.2,"Petal.Length":4,"Petal.Width":1,"Species":"versicolor"},{"Sepal.Length":6.1,"Sepal.Width":2.9,"Petal.Length":4.7,"Petal.Width":1.4,"Species":"versicolor"},{"Sepal.Length":5.6,"Sepal.Width":2.9,"Petal.Length":3.6,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":6.7,"Sepal.Width":3.1,"Petal.Length":4.4,"Petal.Width":1.4,"Species":"versicolor"},{"Sepal.Length":5.6,"Sepal.Width":3,"Petal.Length":4.5,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":5.8,"Sepal.Width":2.7,"Petal.Length":4.1,"Petal.Width":1,"Species":"versicolor"},{"Sepal.Length":6.2,"Sepal.Width":2.2,"Petal.Length":4.5,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":5.6,"Sepal.Width":2.5,"Petal.Length":3.9,"Petal.Width":1.1,"Species":"versicolor"},{"Sepal.Length":5.9,"Sepal.Width":3.2,"Petal.Length":4.8,"Petal.Width":1.8,"Species":"versicolor"},{"Sepal.Length":6.1,"Sepal.Width":2.8,"Petal.Length":4,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":6.3,"Sepal.Width":2.5,"Petal.Length":4.9,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":6.1,"Sepal.Width":2.8,"Petal.Length":4.7,"Petal.Width":1.2,"Species":"versicolor"},{"Sepal.Length":6.4,"Sepal.Width":2.9,"Petal.Length":4.3,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":6.6,"Sepal.Width":3,"Petal.Length":4.4,"Petal.Width":1.4,"Species":"versicolor"},{"Sepal.Length":6.8,"Sepal.Width":2.8,"Petal.Length":4.8,"Petal.Width":1.4,"Species":"versicolor"},{"Sepal.Length":6.7,"Sepal.Width":3,"Petal.Length":5,"Petal.Width":1.7,"Species":"versicolor"},{"Sepal.Length":6,"Sepal.Width":2.9,"Petal.Length":4.5,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":5.7,"Sepal.Width":2.6,"Petal.Length":3.5,"Petal.Width":1,"Species":"versicolor"},{"Sepal.Length":5.5,"Sepal.Width":2.4,"Petal.Length":3.8,"Petal.Width":1.1,"Species":"versicolor"},{"Sepal.Length":5.5,"Sepal.Width":2.4,"Petal.Length":3.7,"Petal.Width":1,"Species":"versicolor"},{"Sepal.Length":5.8,"Sepal.Width":2.7,"Petal.Length":3.9,"Petal.Width":1.2,"Species":"versicolor"},{"Sepal.Length":6,"Sepal.Width":2.7,"Petal.Length":5.1,"Petal.Width":1.6,"Species":"versicolor"},{"Sepal.Length":5.4,"Sepal.Width":3,"Petal.Length":4.5,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":6,"Sepal.Width":3.4,"Petal.Length":4.5,"Petal.Width":1.6,"Species":"versicolor"},{"Sepal.Length":6.7,"Sepal.Width":3.1,"Petal.Length":4.7,"Petal.Width":1.5,"Species":"versicolor"},{"Sepal.Length":6.3,"Sepal.Width":2.3,"Petal.Length":4.4,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":5.6,"Sepal.Width":3,"Petal.Length":4.1,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":5.5,"Sepal.Width":2.5,"Petal.Length":4,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":5.5,"Sepal.Width":2.6,"Petal.Length":4.4,"Petal.Width":1.2,"Species":"versicolor"},{"Sepal.Length":6.1,"Sepal.Width":3,"Petal.Length":4.6,"Petal.Width":1.4,"Species":"versicolor"},{"Sepal.Length":5.8,"Sepal.Width":2.6,"Petal.Length":4,"Petal.Width":1.2,"Species":"versicolor"},{"Sepal.Length":5,"Sepal.Width":2.3,"Petal.Length":3.3,"Petal.Width":1,"Species":"versicolor"},{"Sepal.Length":5.6,"Sepal.Width":2.7,"Petal.Length":4.2,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":5.7,"Sepal.Width":3,"Petal.Length":4.2,"Petal.Width":1.2,"Species":"versicolor"},{"Sepal.Length":5.7,"Sepal.Width":2.9,"Petal.Length":4.2,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":6.2,"Sepal.Width":2.9,"Petal.Length":4.3,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":5.1,"Sepal.Width":2.5,"Petal.Length":3,"Petal.Width":1.1,"Species":"versicolor"},{"Sepal.Length":5.7,"Sepal.Width":2.8,"Petal.Length":4.1,"Petal.Width":1.3,"Species":"versicolor"},{"Sepal.Length":6.3,"Sepal.Width":3.3,"Petal.Length":6,"Petal.Width":2.5,"Species":"virginica"},{"Sepal.Length":5.8,"Sepal.Width":2.7,"Petal.Length":5.1,"Petal.Width":1.9,"Species":"virginica"},{"Sepal.Length":7.1,"Sepal.Width":3,"Petal.Length":5.9,"Petal.Width":2.1,"Species":"virginica"},{"Sepal.Length":6.3,"Sepal.Width":2.9,"Petal.Length":5.6,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":6.5,"Sepal.Width":3,"Petal.Length":5.8,"Petal.Width":2.2,"Species":"virginica"},{"Sepal.Length":7.6,"Sepal.Width":3,"Petal.Length":6.6,"Petal.Width":2.1,"Species":"virginica"},{"Sepal.Length":4.9,"Sepal.Width":2.5,"Petal.Length":4.5,"Petal.Width":1.7,"Species":"virginica"},{"Sepal.Length":7.3,"Sepal.Width":2.9,"Petal.Length":6.3,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":6.7,"Sepal.Width":2.5,"Petal.Length":5.8,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":7.2,"Sepal.Width":3.6,"Petal.Length":6.1,"Petal.Width":2.5,"Species":"virginica"},{"Sepal.Length":6.5,"Sepal.Width":3.2,"Petal.Length":5.1,"Petal.Width":2,"Species":"virginica"},{"Sepal.Length":6.4,"Sepal.Width":2.7,"Petal.Length":5.3,"Petal.Width":1.9,"Species":"virginica"},{"Sepal.Length":6.8,"Sepal.Width":3,"Petal.Length":5.5,"Petal.Width":2.1,"Species":"virginica"},{"Sepal.Length":5.7,"Sepal.Width":2.5,"Petal.Length":5,"Petal.Width":2,"Species":"virginica"},{"Sepal.Length":5.8,"Sepal.Width":2.8,"Petal.Length":5.1,"Petal.Width":2.4,"Species":"virginica"},{"Sepal.Length":6.4,"Sepal.Width":3.2,"Petal.Length":5.3,"Petal.Width":2.3,"Species":"virginica"},{"Sepal.Length":6.5,"Sepal.Width":3,"Petal.Length":5.5,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":7.7,"Sepal.Width":3.8,"Petal.Length":6.7,"Petal.Width":2.2,"Species":"virginica"},{"Sepal.Length":7.7,"Sepal.Width":2.6,"Petal.Length":6.9,"Petal.Width":2.3,"Species":"virginica"},{"Sepal.Length":6,"Sepal.Width":2.2,"Petal.Length":5,"Petal.Width":1.5,"Species":"virginica"},{"Sepal.Length":6.9,"Sepal.Width":3.2,"Petal.Length":5.7,"Petal.Width":2.3,"Species":"virginica"},{"Sepal.Length":5.6,"Sepal.Width":2.8,"Petal.Length":4.9,"Petal.Width":2,"Species":"virginica"},{"Sepal.Length":7.7,"Sepal.Width":2.8,"Petal.Length":6.7,"Petal.Width":2,"Species":"virginica"},{"Sepal.Length":6.3,"Sepal.Width":2.7,"Petal.Length":4.9,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":6.7,"Sepal.Width":3.3,"Petal.Length":5.7,"Petal.Width":2.1,"Species":"virginica"},{"Sepal.Length":7.2,"Sepal.Width":3.2,"Petal.Length":6,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":6.2,"Sepal.Width":2.8,"Petal.Length":4.8,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":6.1,"Sepal.Width":3,"Petal.Length":4.9,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":6.4,"Sepal.Width":2.8,"Petal.Length":5.6,"Petal.Width":2.1,"Species":"virginica"},{"Sepal.Length":7.2,"Sepal.Width":3,"Petal.Length":5.8,"Petal.Width":1.6,"Species":"virginica"},{"Sepal.Length":7.4,"Sepal.Width":2.8,"Petal.Length":6.1,"Petal.Width":1.9,"Species":"virginica"},{"Sepal.Length":7.9,"Sepal.Width":3.8,"Petal.Length":6.4,"Petal.Width":2,"Species":"virginica"},{"Sepal.Length":6.4,"Sepal.Width":2.8,"Petal.Length":5.6,"Petal.Width":2.2,"Species":"virginica"},{"Sepal.Length":6.3,"Sepal.Width":2.8,"Petal.Length":5.1,"Petal.Width":1.5,"Species":"virginica"},{"Sepal.Length":6.1,"Sepal.Width":2.6,"Petal.Length":5.6,"Petal.Width":1.4,"Species":"virginica"},{"Sepal.Length":7.7,"Sepal.Width":3,"Petal.Length":6.1,"Petal.Width":2.3,"Species":"virginica"},{"Sepal.Length":6.3,"Sepal.Width":3.4,"Petal.Length":5.6,"Petal.Width":2.4,"Species":"virginica"},{"Sepal.Length":6.4,"Sepal.Width":3.1,"Petal.Length":5.5,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":6,"Sepal.Width":3,"Petal.Length":4.8,"Petal.Width":1.8,"Species":"virginica"},{"Sepal.Length":6.9,"Sepal.Width":3.1,"Petal.Length":5.4,"Petal.Width":2.1,"Species":"virginica"},{"Sepal.Length":6.7,"Sepal.Width":3.1,"Petal.Length":5.6,"Petal.Width":2.4,"Species":"virginica"},{"Sepal.Length":6.9,"Sepal.Width":3.1,"Petal.Length":5.1,"Petal.Width":2.3,"Species":"virginica"},{"Sepal.Length":5.8,"Sepal.Width":2.7,"Petal.Length":5.1,"Petal.Width":1.9,"Species":"virginica"},{"Sepal.Length":6.8,"Sepal.Width":3.2,"Petal.Length":5.9,"Petal.Width":2.3,"Species":"virginica"},{"Sepal.Length":6.7,"Sepal.Width":3.3,"Petal.Length":5.7,"Petal.Width":2.5,"Species":"virginica"},{"Sepal.Length":6.7,"Sepal.Width":3,"Petal.Length":5.2,"Petal.Width":2.3,"Species":"virginica"},{"Sepal.Length":6.3,"Sepal.Width":2.5,"Petal.Length":5,"Petal.Width":1.9,"Species":"virginica"},{"Sepal.Length":6.5,"Sepal.Width":3,"Petal.Length":5.2,"Petal.Width":2,"Species":"virginica"},{"Sepal.Length":6.2,"Sepal.Width":3.4,"Petal.Length":5.4,"Petal.Width":2.3,"Species":"virginica"},{"Sepal.Length":5.9,"Sepal.Width":3,"Petal.Length":5.1,"Petal.Width":1.8,"Species":"virginica"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment