simplemap = bertin.draw({
params: {
background: "#fff",
margin: 10,
projection: d3.geoConicConformal().parallels([38, 39]).rotate([77, 0]),
width: 500
},
layers: [
{
type: "bubble",
geojson: census,
values: "race_black",
k: 13,
fill: "#e368c0",
fillOpacity: 0.85,
tooltip: [
(d) => d.properties.race_black + "%",
(d) => "Tract " + d.properties.NAME
]
},
{
type: "layer",
geojson: census,
stroke: "#fff",
fill: "#eee",
strokeWidth: 1
}
]
})