California Heist

Trinity rounded up the children in before care, instigating a makeshift karate class. Directing everyone through the different poses, she demonstrated what she learned in her class so the others…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How I build Capital Cities with thier Latitude

So, it is obvious that I’ve used world bank’s data to make this charts and here is how I make it.

As we enter the website, we are greeted by a user-friendly interface. The navigation bar at the top allows us to explore different charts. The website is made with HTML, CSS , Javascript, Bootstrap, and Highcharts.

Our first stop is the “Capital Cities with Latitude” chart. This pie chart showcases the latitude of several capital cities worldwide. By hovering over the slices, we can gather specific information about each city’s latitude, such as Kabul, Ouagadougou, Bangul, Asmara, and more.

Next, we delve into the “Cities with Longitude” chart. Presented as a bar chart, it reveals the longitude of cities in countries like Afghanistan, Burkina Faso, Congo, and Ethiopia. This visualization allows us to compare the longitudes of various cities and gain insights into their geographical distribution.

Moving forward, we encounter the “Cities with Latitude” chart. This 3D donut chart showcases cities’ latitudes in different regions, including Afghanistan, Burkina Faso, Central African Republic, and more. The chart’s depth and inner size enhance the visual appeal, providing a unique perspective on latitude distributions.

Our journey continues with the “Cities by Region and Longitude” chart, depicted as a column chart. It sheds light on the longitudes of cities within specific regions. With categories ranging from Sudan to Chad and Uganda, this visualization facilitates regional comparisons of longitude values.

Lastly, we explore the “Income Levels” table. It presents a tabular representation of countries and their corresponding income levels. This table is dynamically generated using data fetched from the World Bank API. It offers a quick overview of income disparities across different countries.

HERE IS THE JS CODE:

As we conclude our visual journey through the World Bank data, we have witnessed the power of data visualization in conveying meaningful insights. The charts and table we explored provided valuable information about geographical coordinates, income levels, and regional comparisons. By harnessing the capabilities of Bootstrap CSS, Highcharts, and the World Bank API, we were able to create an engaging and interactive data exploration experience.

Add a comment

Related posts:

Tips for creating a component library

If you work in an organization with several applications, you’ll most likely find yourself recreating the same pieces of UI again and again. They’ll look almost the same, of course, and have slightly…

Encapsulating data on GraphQL using Loaders

If you have already used GraphQL, you probably saw that it can consume data coming from the most varied sources, be it a local database or a external API, while centralizing them in a single…

The Books I Read in 2017

In terms of book-reading especially, 2017 was the most joyful and edifying year of my life. By following my gut and my interests, I have absorbed some absolute gems that have deepened and expanded my…