The paper presents the developed software for statistical analysis of time series on crop production, extracted from multidimensional database. The software can be used by statisticians, economists and agricultural specialists to facilitate their access to statistical data and analytical methods. The created algorithm updates automatically the database using public online sources. The sunflower yields by regions and their sustainability have been studied. Hierarchical clustering of Bulgarian regions is presented graphically.