Export Code
Connected
viz.js
import vl from 'vega-lite-api';
export const viz = vl
.markCircle({
size: 200,
opacity: 0.5,
color: 'black'
})
.encode(
vl
.x()
.fieldQ('Margin of Error')
.scale({ zero: false, type:'log'}),
vl
.y()
.fieldQ('CommutingFlow')
.scale({ zero: false, type:'log'}),
vl
.size()
.fieldQ('CommutingFlow')
.scale({ range: [0, 2000] }),
vl.tooltip().fieldN('WorkCounty')
);

Vega-Lite API Template

Curran Kelleher

Last edited Nov 17, 2019
Created on Nov 17, 2019

A visualization constructed using the vega-lite-api.

MIT Licensed