def METHOD_NAME(self, taxon_group):
    """
    Returns summary data for a module based on the given taxon group.
    Args:
        taxon_group (Taxon): Taxon group object.
    Returns:
        dict: Dictionary containing summary data.
    """
    summary = {}
    collections = BiologicalCollectionRecord.objects.filter(
        module_group=taxon_group)
    # Check the chart data type and add corresponding summary data
    if taxon_group.chart_data == 'division':
        summary['division'] = self.get_division_summary(collections)
    elif taxon_group.chart_data == 'origin':
        summary['origin'] = self.get_origin_summary(collections)
    elif taxon_group.chart_data == 'endemism':
        summary['endemism'] = self.get_endemism_summary(collections)
    elif taxon_group.chart_data == 'sass':
        summary.update(self.get_sass_summary())
    else:
        summary[
            'conservation-status'] = self.get_conservation_status_summary(
            collections)
    # Add additional details
    if taxon_group.logo:
        summary['icon'] = taxon_group.logo.url
    summary['total'] = collections.count()
    summary['total_site'] = collections.distinct('site').count()
    summary['total_site_visit'] = collections.distinct('survey').count()
    return summary