Python Foundation

+91-7982108418            

MATPLOTLIB PIE CHART

  • 1) Write a Python programming to create a pie chart of the popularity of programming Languages. Sample data: Programming languages: Java, Python, PHP, JavaScript, C#, C++ Popularity: 22.2, 17.6, 8.8, 8, 7.7, 6.7 The code snippet gives the output shown in the following screen:
  • 2) Write a Python programming to create a pie chart with a title of the popularity of programming Languages. Sample data: Programming languages: Java, Python, PHP, JavaScript, C#, C++ Popularity: 22.2, 17.6, 8.8, 8, 7.7, 6.7 The code snippet gives the output shown in the following screenshot:
  • 3) Write a Python programming to create a pie chart with a title of the popularity of programming Languages.Make multiple wedges of the pie. Sample data: Programming languages: Java, Python, PHP, JavaScript, C#, C++ Popularity: 22.2, 17.6, 8.8, 8, 7.7, 6.7 The code snippet gives the output shown in the following screenshot:
  • 4) Write a Python programming to create a pie chart of gold medal achievements of five most successful countries in 2016 Summer Olympics. Read the data from a csv file.
  • Sample data:
  • medal.csv country,
  • gold_medal United States,46
  • Great Britain,27
  • China,26
  • Russia,19
  • Germany,17

Powered by BetterDocs

Contact Us
close slider

error: Content is protected !!