Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created August 1, 2021 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/c20334b075876f38db9b8f7af9890450 to your computer and use it in GitHub Desktop.
Save amankharwal/c20334b075876f38db9b8f7af9890450 to your computer and use it in GitHub Desktop.
import plotly.express as px
data = px.data.gapminder().query("country=='India'")
figure = px.line(data, x = "year", y = "lifeExp", color="country")
figure.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment