The correct method to create a scatter plot using Seaborn is sns.scatterplot(). This method is specifically designed to visualize the relationship between two continuous variables. The function takes x and y as the input variables and data as the DataFrame from which these variables are extracted. Scatter plots are ideal for visualizing the correlation or relationship between two variables, helping identify patterns such as clustering or outliers. Why Other Options Are Incorrect: • A: sns.lineplot() is used to create line plots, which are appropriate for visualizing trends over time or continuous data but not for visualizing relationships between two independent variables like in a scatter plot. • C: sns.histplot() is used for creating histograms, which are useful for visualizing the distribution of a single variable, not for visualizing relationships between two variables. • D: sns.boxplot() is used for displaying the distribution of a variable and identifying outliers, but it is not used for visualizing relationships between two continuous variables. • E: sns.heatmap() is used to display a matrix of data values, typically for visualizing correlation matrices or other matrix-like data, but it is not suited for scatter plots of two variables.
Which of the following statements is/are correct?
1. A money bill is introduced only in the Lok Sabha.
2. Under article 249, resolution pa...
What is the term for President and Vice President of India?
Regarding the Parliamentary Committee on Public Accounts, which statements are accurate?
(I) Consist of not more than 25 members of the Lok Sabha...
Which of the following statements regarding constitutional amendment is/are correct?
1. The procedure for amendment to the Constitution is provid...
The First Law Officer of the Government of India is :
Which of the following was considered as 'heart and soul of the constitution' by Dr. B. R. Ambedkar?
The concept of the Planning Commission in the Indian Constitution was borrowed from which country?
Which article of the Indian Constitution specifies that the President shall not be a member of either House of Parliament or any State Legislature?
Which one of the following statements about the Cripps Mission is not correct?
Which of the following is not a constitutional body in India?