def METHOD_NAME(course_key, num_sequences):
    """
    Generate a list of CourseSectionData.
    `num_sequences` is a list that contains the length of each CourseSectionData
    in order. So if you pass in [1, 3, 5], we would pass back a list of three
    CourseSectionData, where the first one has 1 CourseLearningSequenceData as
    it sequences, the second had 3 sequences, and the third had 5 sequences.
    All sections and sequences have normal visibility.
    """
    normal_visibility = VisibilityData(
        hide_from_toc=False,
        visible_to_staff_only=False
    )
    sections = []
    for sec_num, seq_count in enumerate(num_sequences, 1):
        sections.append(
            CourseSectionData(
                usage_key=course_key.make_usage_key('chapter', f'ch_{sec_num}'),
                title=f"Chapter {sec_num}: 🔥",
                visibility=normal_visibility,
                sequences=[
                    CourseLearningSequenceData(
                        usage_key=course_key.make_usage_key(
                            'sequential', f'seq_{sec_num}_{seq_num}'
                        ),
                        title=f"Seq {sec_num}.{seq_num}: 🔥",
                        visibility=normal_visibility,
                    )
                    for seq_num in range(seq_count)
                ]
            )
        )
    return sections