Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.

Premium Features

Download Video

Inserting Bulk Country Data

Published 22 days ago

Country API Data:

Let's face it, populating a globe manually by calling createBox over and over again is quite tiresome. Rather than calling a function multiple times and inserting data by hand, we can create a bulk insert function that takes data from a comprehensive source, and parses it into boxes that are automatically placed on our globe.

We'll be using as the source for our country data which includes the countries names, populations, latitudes, and longitudes.


Want to participate?

Create a free Chris Courses account to begin


No comments yet, be the first to add one

Cheat Sheet Preview

Download The Official Chris Courses HTML5 Canvas Cheat Sheet

Essential canvas syntax at your fingertips.

Download Now

Providing the lift to launch your development career

© 2021 Chris Courses. All rights reserved.