Countries with the highest rates of diabetes
You're given the following dataset showing population and diabetic information for hypothetical countries. A preview of the data is below:
Using this data, return a ranked list of the top 10 countries with the highest percent of citizens with diabetes. Additionally, visualize this information as you would for a non-technical stakeholder.
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 data df = pd.read_csv('https://raw.githubusercontent.com/erood/interviewqs.com_code_snippets/master/Datasets/population_diabetic_dataset.csv')
Subscribe to premium account to see the solution.Get premium now