Skip to content

Instantly share code, notes, and snippets.

@shacheeswadia
Created November 21, 2021 10:23
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 shacheeswadia/fc38f1e2b2024ee210b74d5af3c76528 to your computer and use it in GitHub Desktop.
Save shacheeswadia/fc38f1e2b2024ee210b74d5af3c76528 to your computer and use it in GitHub Desktop.
// set chart paddings
chart.padding(25, 50, 75, 50);
// set chart title
chart.title('GDP per capita (PPP) in 2006-2020, in USD');
// set container id for the chart
chart.container('container');
// initiate chart drawing
chart.draw();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment