Question
Part 1 Setup if required install numpy via pip install numpy on the command line if required install matplotlib via pip install matplotlib on the
Part 1 Setup if required install numpy via pip install numpy on the command line if required install matplotlib via pip install matplotlib on the command line install pydataset via pip install pydataset on the command line Part 2 Loading the iris data and creating a first plot put the iris data available in pydataset into a variable create a scatterplot showing the first and second variables of the Iris data Part 3 Exploring plotting options for the Iris data create a pie chart showing the class counts for the iris data. There are 50 samples each for the species of virginica, setosa and versicolor explore the matplotlib documentation linked via the video and at https://matplotlib.org/ and create one more plot for the iris data (your choice, but a different type of chart) Part 4 Creating Subplots create 4 different subplots (in one plot) of the dataset using the pie chart, the one you chose after looking at the documentation and two scatterplots with different variables put your name and student number as title into each Hand in the image of your plot showing the subplots for Part 4, clearly showing the title, for the lab marks for this week. Plots without your name and student number in the title will not receive any marks.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started