Exercise: Visualizing Datasets
Check your understanding of creating visualizations using Plotly.
We'll cover the following...
We'll cover the following...
Let’s practice what we have learned so far.
Tasks
Refactor the Python code below to follow the tasks listed:
-
Create a
ginivariable, and store the string'GINI index (World Bank estimate)'. -
Create a
yearvariable, and store the integer2016. -
Create the first
dfsubset from thepovertydataset to get the poverty rates for all countries in the year 2016, and sort them based on their Gini index scores. -
Plot a bar chart using the subset created in the ...