viewof min_max_scatter = vegaEmbed ({
$schema: "https://vega.github.io/schema/vega-lite/v2.json",
width: 400,
data: {values: qb_data},
mark: {type: "circle"},
encoding: {
x: {field: "Rushing TD", type: "quantitative",
scale: {domain: [rush_min-1,rush_max+1]},
axis: {values: d3.range(0, rush_max+1)}
},
y: {field: "Passing TD", type: "quantitative"},
},
config: {
axis: {grid: false}
}
})