The Data Visualization Workshop by Mario Döbler and Tim Großmann

The Data Visualization Workshop by Mario Döbler and Tim Großmann

Author:Mario Döbler and Tim Großmann
Language: eng
Format: epub
Publisher: Packt Publishing Pvt. Ltd.
Published: 2020-07-27T00:00:00+00:00


Create a subplot with two rows to visualize two violin plots for the annual salary and weekly working hours, respectively. Compare in each case to what extent education has an impact. To exclude pensioners, only consider people younger than 65. Use a colormap that is suitable for colorblind people. subplots() can be used in combination with Seaborn's plot, by simply passing the ax argument with the respective axes. The following output will be generated after implementing this step:

Figure 4.44: Violin plots showing the impact of education on annual salary and weekly working hours

Note

The solution to this activity can be found on page 432.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.