Book Image

Mastering D3.js

Book Image

Mastering D3.js

Overview of this book

Table of Contents (19 chapters)
Mastering D3.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating the application


In this section, we will create a data visualization to explore the evolution of the Human Development Index (HDI) for different countries, and show the life expectancy, education, and income components of the index. We will create the visualization using D3 and Backbone.

The HDI is a composite statistic of life expectancy, education, and income created to compare and measure the quality of life in different countries. This indicator is used by the United Nations Development Program to measure and report the progress of the ranked countries in these areas.

In this visualization, we want to display how a particular country compares to other ranked countries in the evolution of the index. We will use the Human Development Data API to access the time series of the HDI for the ranked countries and to retrieve information about their main components.

The chart will show the evolution of the HDI for all the ranked countries, highlighting the selected country. In the right...