Create an age pyramid to present the repartition of the population in your area, with custom HTML and CSS.
3 parameters must be declared in the code:
agefield
: the id of the age field in your datasetgenderfield
: the id of the gender field in your datasetvaluefield
: the id of the value field in your datasetThen, you can customize the colors of the bars in the CSS file, with the 2 variables:
Various examples to showcase ods-aggregation. This widget exposes the results of an aggregation (sum, average, minimum, maximum etc...) function.