map3 = bertin.draw({
params: {
background: colwater,
width: 750,
projection: lambert93,
extent: dep_maitron,
margin: 30
},
layers: [
{
type: "text",
position: "topright",
text: "Activism eveywhere !",
frame_opacity: 0.7,
baseline: "hanging",
fill: colact,
fontSize: 25,
margin: 4,
fontWeight: "bold",
fontFamily: "Ubuntu"
},
{
type: "dotcartogram",
geojson: com_maitron,
dorling: true,
values: "ref",
onedot: onedot,
iteration: iteration,
radius: radius,
span: span,
fill: colact,
symbol: "circle",
tooltip: {
fields: [
"$com_name",
"$ref",
"Biographie(s) with activism known in the municipality"
],
fill: colact,
fontWeight: ["bold", "normal", "normal"],
fontSize: [15, 10, 8],
col: ["white", "white", "white"]},
leg_x: 25,
leg_y: 25,
leg_round: -1,
leg_title: "Activist biographies\nnumber"
},
{
type: "layer",
geojson: dep_maitron,
fill: coldep
},
{
type: "footer",
text:
"Sources: Maitron, Paul Boulland (biographies geocoding), Victor Jay (French departments), 2022\nRealisation: Ronan Ysebaert, 2022"
},
{
type: "layer",
geojson: land,
fill: "lightgrey"
}
]
})