Plotting the elements in The Joy of Painting
Given the following dataset on elements found each episode of Bob Ross's The Joy of Painting, create a bar chart that shows the top 10 elements and the percent of episodes each element shows up in.
To help get you started, below is code (Python) to import the referenced dataset:
# Import libraries %matplotlib inline import pandas as pd import matplotlib.pyplot as plt import numpy as np import seaborn as sns # Import data df = pd.read_csv('https://raw.githubusercontent.com/erood/interviewqs.com_code_snippets/master/Datasets/elements-by-episode.csv' )
Subscribe to premium account to see the solution.Get premium now