Improving Rendering with SQL Extensions
{
"width": 1146,
"height": 1116,
"data": [
{
"name": "pointmap",
"sql": "SELECT lon, lat, recipient_party, rowid FROM fec_contributions_oct WHERE (lon BETWEEN -119.49268182426508 AND -76.518508633361) AND (lat BETWEEN 21.99999999999997 AND 53.999999999999716) LIMIT 2000000"
}
],
"scales": [
{
"name": "pointmap_fillColor",
"type": "ordinal",
"domain": ["D","R","I"],
"range": ["deepskyblue","crimson","gold"],
"default": "peru",
"nullValue": "gainsboro"
}
],
"projections": [
{
"name": "merc",
"type": "mercator",
"bounds": {
"x": [-119.49268182426508,-76.518508633361],
"y": [21.99999999999997,53.999999999999716]
}
}
],
"marks": [
{
"type": "symbol",
"from": {"data": "pointmap"},
"properties": {
"xc": {"field": "lon"},
"yc": {"field": "lat"},
"fillColor": {"scale": "pointmap_fillColor","field": "recipient_party"},
"shape": "circle",
"width": 10,
"height": 10
},
"transform": {"projection": "merc"}
}
]
}








Current Limitations
Last updated
Was this helpful?

