Exploratory Data Analysis for Data Visualization :Applied Data Science Capstone(IBM Data Analyst Professional Certificate) Answers 2025 1️⃣ Question 1 What type of data does a Bar Chart best represent? ❌ Location Data ❌ Numerical (not primarily) ✅ Categorical ❌ None of the above Explanation:Bar charts are best for comparing categories (e.g., Launch Sites, Orbits, etc.). 2️⃣ Question 2 Total number of columns after One Hot Encoding Orbit, LaunchSite, LandingPad, and Serial? ❌ 120 ❌ 80 ❌ 96 ✅ 83 Explanation:Course-based lab output shows the features dataframe becomes 83 columns after OHE. 3️⃣ Question 3 Correct catplot code for a scatterplot of FlightNumber vs LaunchSite with hue=’Class’? ❌ Using kind=’cat’ ❌ No kind parameter (defaults to stripplot), not scatter ❌ Using col=”Class” ✅ sns.catplot(y=”LaunchSite”, x=”FlightNumber”, hue=”Class”, data=df, aspect=1, kind=’scatter’) Explanation:To produce a scatter-style plot in catplot, you must specify kind=’scatter’. 🧾 Summary Table Q Correct Answer 1 Categorical 2 83 3 catplot with kind=’scatter’
1️⃣ Question 1 What type of data does a Bar Chart best represent? ❌ Location Data ❌ Numerical (not primarily) ✅ Categorical ❌ None of the above Explanation:Bar charts are best for comparing categories (e.g., Launch Sites, Orbits, etc.). 2️⃣ Question 2 Total number of columns after One Hot Encoding Orbit, LaunchSite, LandingPad, and Serial? ❌ 120 ❌ 80 ❌ 96 ✅ 83 Explanation:Course-based lab output shows the features dataframe becomes 83 columns after OHE. 3️⃣ Question 3 Correct catplot code for a scatterplot of FlightNumber vs LaunchSite with hue=’Class’? ❌ Using kind=’cat’ ❌ No kind parameter (defaults to stripplot), not scatter ❌ Using col=”Class” ✅ sns.catplot(y=”LaunchSite”, x=”FlightNumber”, hue=”Class”, data=df, aspect=1, kind=’scatter’) Explanation:To produce a scatter-style plot in catplot, you must specify kind=’scatter’. 🧾 Summary Table Q Correct Answer 1 Categorical 2 83 3 catplot with kind=’scatter’