From the course: NumPy Essential Training: 2 MatPlotlib and Linear Algebra Capabilities
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Creating pie charts and bar charts - NumPy Tutorial
From the course: NumPy Essential Training: 2 MatPlotlib and Linear Algebra Capabilities
Creating pie charts and bar charts
- [Instructor] It's crucial to choose the right graph for presentation of the associated data. When we want to show the contribution of various groups or categories to the total, we'll use pie chart. A few examples are popularity of different programming languages, percentage distribution of jobs with respect to job categories, or student grades as a percentage of total class size. You can think of a pie chart as a circle that is divided radially depending on the data. Let's create a pie chart based on the 2021 Octoverse report published on GitHub. According to this survey of more than 12,000 developers, the workplace is shifting to remote and hybrid work. Where respondents expect to work. Collocated, meaning in an office all the time or part time. 10.7%. Hybrid. Some team members in an office and others remote. 47.6%. Fully remote. All team members working remotely. 38.8% And non-applicable, 2.9%. Let's open our…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.