python_ repos py --snip-explore information about the repositories repo_dicts response_dict['items'print("number of items:"len(repo_dicts) namesplot_dicts [][for repo_dict in repo_dictsnames append(repo_dict['name'] plot_dict 'value'repo_dict['stargazers_count']'label'repo_dict['description']plot_dicts append(plot_dictmake visualization my_style ls('# 'base_style=lcs--snip- chart add(''plot_dictschart render_to_file('python_repos svg'at we make an empty list for names and an empty list for plot_dicts we still need the names list in order to generate the labels for the -axis inside the loop we create the dictionary plot_dict for each project we store the number of stars with the key 'valueand the project description with the key 'labelin each plot_dict we then append each project' plot_dict to plot_dicts at we pass the list plot_dicts to add(figure - shows the resulting chart figure - hovering over bar shows the project' description working with apis