- Consider the following descriptions of datasets. What style of chart would you suggest for each?
-
- Web server hit counts by date
- Sales figures by salesperson per month
- Percentages of support tickets for the past year by company department
- The yield of a plot of bean plants against the plant's height, for several hundred plants
The answers are subjective, but the author suggests the following:
-
- A line or spline chart, as it would illustrate traffic trends
- A bar or stacked by chart, as this would allow you to compare salespeople over time
- A pie chart, since it represents a set of percentages adding up to 100
- A scatter plot, since you want to show a general trend of a large set of data
- Which chart component has not been configured in the following code, and what will the result be?
data_list = [
qtc.QPoint(2, 3),
qtc.QPoint(4, 5),
...