pygal also allows you to use each bar in the chart as link to website to add this capabilitywe just add one line to our codeleveraging the dictionary we've set up for each project we add new key-value pair to each project' plot_dict using the key 'xlink'python_ repos py --snip-namesplot_dicts [][for repo_dict in repo_dictsnames append(repo_dict['name']plot_dict 'value'repo_dict['stargazers_count']'label'repo_dict['description']'xlink'repo_dict['html_url']plot_dicts append(plot_dict--snip-pygal uses the url associated with 'xlinkto turn each bar into an active link you can click any of the bars in the chartand the github page for that project will automatically open in new tab in your browser now you have an interactiveinformative visualization of data retrieved through an apithe hacker news api to explore how you would use api calls on other siteswe'll look at hacker news (about programming and technologyand engage in lively discussions about those articles hacker newsapi provides access to data about all submissions and comments on the sitewhich is available without having to register for key the following call returns information about the current top article as of this writingthe response is dictionary of information about the article with the id 'url'''type''story''title''new horizonsnasa spacecraft speeds past pluto''descendants' 'score' 'time' 'text'''