HTML5 Zone is brought to you in partnership with:

Jos works as Architect for JPoint. In the last couple of years Jos has worked on large projects in the public and private sector. Ranging from very technology focusses integration projects to SOA/BPM projects using WS-* and REST based architectures. Jos has given many presentations on conferences such as Javaone, NL-JUG, Devoxx etc., and has written two books for Manning: Open Source ESBs in Action and (published in the next couple of months) SOA Governance in Action. In this last book Jos shows how, with some good practical governance approaches, you can create great WS-* and REST based services and APIs. Besides this he has his own blog where he writes about interesting technologies and shares his ideas about REST, API Design, Scala, Play and more. Jos is a DZone MVB and is not an employee of DZone and has posted 49 posts at DZone. You can read more from them at their website. View Full User Profile

Euro Debt and Financial Crisis Visualized With Timeline Using d3.js and Three.js

07.22.2012
| 2833 views |
  • submit to reddit

In a couple of recent articles I've been using Three.js and d3.js to create 3D maps and visualize metrics. In the last week I combined a couple of these techniques to create a visualization of the financial/debt crisis in the Eurozone:


European_Debt_Crisis_ timeline.jpg

What does this timeline represent?

In this timeline I show how the interest rates for the long term bonds change over time for the Countries of the Eurozone. This is the interest rate countries pay to refinance their debts. Why is this interesting? This interest rate is a very good indication of the financial stability of a country. Is the rate high, then refinancing debt will cost more and more and interest payments will go up. A situation which, at certain percentages, will bankrupt a country.

In this visualization the following is shown:

  • Timeline at the bottom shows events that occur during the period 2009 to 2012.
  • For each event a 'bubble' is shown that explains a bit more about the event.
  • The map shows the countries. Green means low debt rate, red means high debt rate.
  • For better visualization the height of a country is also defined by this debt rate.

Techniques used

This timeline uses the following techniques:

  • d3.js: This library is used to create the timeline visualization at the bottom.
  • Three.js: To visualize the interest rate a 3D model is created in Three.j
Published at DZone with permission of Jos Dirksen, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)