I have index that contains number of vehicule produced for each type of vehicule for some date
that is my index:
{"index":{"_index":"voiture","_id":"1"}}
{"fabrication_date":"2000-01-01","type":"BMW","total_car_produced":"10"}
{"index":{"_index":"voiture","_id":"2"}}
{"fabrication_date":"2017-12-01","type":"mercedes","total_car_produced":"30"}
i want a to make a visualization (vertical bar) for every year A from 2020 to 2050 if the fabrication_date < 08/A+1 and i want the sum of all producted vehicule per type
visualisation: for every year number of vehicule produced per type