Video Thumbnail

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

UNLOCK LESSON

Premium Features

Download Video

Insert Bulk Country Data

Published 3 years ago

Country API Data: https://restcountries.eu/rest/v2/all

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 https://restcountries.eu/ as the source for our country data which includes the countries names, populations, latitudes, and longitudes.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.