1)Plot a Line Chart: Plot y = 3x + 2 for x in the range 0 to 10.
Set the x-axis and y-axis labels,
and give the plot a title.
2)Scatter Plot with Customization: Create a scatter plot of 50 random points. Change the
color of the points, increase their size, and add a grid to the plot.
3)Bar Chart with Annotations: Draw a vertical bar chart for five categories of your choice.
Annotate the value on top of each bar.
4)Multiple Lines in One Plot: Plot three mathematical functions (sin, cos, exp) on the same
axes, each with different colors and line styles. Add a legend.
5)Histogram with Custom Bins: Generate 1000 random numbers from a normal distribution
and plot their histogram with 30 bins. Change the bar color and add axis labels
6)Subplots Grid: Create a 2x2 grid of subplots: line plot, bar chart, scatter plot, and
histogram, each in a different subplot. Add an overall (supertitle) for the figure.
7)Stack Plot: Plot the cumulative sales of 3 products over 12 months as a stack plot using
made-up data.
8)Boxplot Using DataFrame: Given a DataFrame of student exam scores for three subjects,
visualize the data distribution with a boxplot.
9)Pie Chart with Explode: Create a pie chart showing the market share of four companies.
Explode the largest segment and display percentage values on the chart.
10)Axis and Legend Customization: For a random line plot, reverse the x-axis, move the
legend outside the plot, and increase legend font size.