Example - Using CARTO Builder Analysis to Style Data
You will need to import the following dataset/s into your account:
quercus
point dataset from here, the data source is from GBIF database.ign_spanish_adm3_municipalities
dataset from CARTO Data Library.
A. Quercus diversity
- Create a map connecting
quercus
dataset. - Rename map title and layer name.
- Change basemap from “Positron” to “Dark Matter”.
- Add
Georeference
analysis to the layer, usinglatitude___processed
andlongitude___processed
fields. - Change layer style, setting the marker width to
3
, removing the markerSTROKE
and setting theBLENDING
method toscreen
. - Add some widgets:
point count
,scientific_name
,locality
,event_date___parsed
. - Publish and share your map.
https://public.carto.com/builder/ec23a1f2-bfb3-46d6-9512-0b872e820e3c/embed
B. Quercus habitat
- Create a map connecting
quercus
dataset. - Rename map title and layer name.
- Add
Georeference
analysis to the layer, usinglatitude___processed
andlongitude___processed
fields. - Add some widgets:
locality
,event_date___parsed
,month
andyear
(edit these last two from histograms to categories). - Add
Group points into polygons
analysis to the layer, grouping byscientific_name
and leaving theOPERATION
asCOUNT
. - Add some widgets:
count_vals
(change it fromavg
tosum
) andcategory
. - Change layer style, make a category map using the
category
field. To make the visualization better, go to the CartoCSS view and set thepolygon-opacity
to0.5
. - Publish and share your map.
https://public.carto.com/builder/a57ae361-bb6f-45ee-95b3-f540538eef16/embed
C. Quercus distribution
- Create a map connecting
quercus
dataset. - Rename map title and layer name.
- Change basemap from “Positron” to “Dark Matter”.
- Add
Georeference
analysis to the layer, usinglatitude___processed
andlongitude___processed
fields. - Add some widgets:
point count
andscientific_name
. - Add
ign_spanish_adm3_municipalities
layer form CARTO Data Library. - Rename municipality layer name.
- Add
Intersect with second layer
analysis to the municipalities layer, setting the quercus layer asINTERSECT LAYER
and leavingCOUNT
asOPERATION
. - Disable the view of quercus layer.
- Add some widgets:
nameunit
andcount_vals
. - Change municipality style, make a choropleth map using the
count_vals_density
field. To make the visualization better, go to the CartoCSS and add some custom properties. - Publish and share your map.
https://public.carto.com/builder/889c68e5-027e-488d-b966-d5b4b3d4c2c2/embed