HW4 Line Chart
Built with blockbuilder.org
Line Chart Explanation
- The mark is a line and the channels are vertical and horizontal spatial positions. The vertical position is a quantitative attribute and it is mapped to the total amount all countries donated over a period of time. The horizontal position is also a quantitative attribute and it is mapped to the year all donor countries made a donation.
- The line chart shows the total amount donated by all countries in a given year. The vertical axis shows the total amount donated by all countries and the horizontal axis shows the year the amount was donated
- From the line chart, I observed that from 1991 to 1994, there seems to be lowest point of donation with the exception of two spikes that happened in 1995 and 1998
- From 2003 to 2006, there is an increase in donation
References
https://bl.ocks.org/mbostock/3883245
https://github.com/d3/d3-time-format