Introduction
This project leverages D3.js for data visualization, focusing on Dow Jones Industrial Average 30 stocks financial data sourced from IEX Exchange and Yahoo Finance in CSV format. The visualizations include Candlestick, area Line, and Comparison line charts.
Each visualisation serves to answer the following research questions:
Q1 - Analyze performances of stock prices over time. Are there any detectable trends?
Q2 - Analyze the possible price movement based on past patterns?
Q3 - How do the stocks of companies compare to each other over a given period?
Q4 - How do macroeconomic indicators influence stock prices within the Dow Jones Industrial Average?
Providing data for this research question - there are four visualistions in total clickcable under the left-side navbar:
Key Information
Development of the visualizations was multi-faceted, incorporating the following technologies and features:
- HTML and JavaScript for structure and functionality
- D3.js v.7 for dynamic data visualization, available at https://d3js.org
- Interactive elements such as responsiveness on hover and zoom
- Custom CSS for improved user experience
About the data
The financial dataset offers complimentary end-of-day data for all equities presently included in the Dow Jones Industrial Average. There is a CSV file named after each of the 30 components of the index, with the file's name being the symbol of the corresponding stock (e.g. AAPL for Apple). Each file contains market-wide data that has been modified for historical purposes. The data is available on a daily basis and covers a maximum period of 5 years. The date information is maintained in the data folder of the project. The data is organised into columns which include the following information: Date, Open, High, Low, Close, Change, Change %, and Volume.Additional macroeconomic data encompassing significant variables such as GDP, interest rate, and unemployment rate from the identical time period as the Dow Jones stock data (2014 to 2019). The data is obtained from the Federal Reserve Economic Data (FRED) and is placed in the project's macro data folder as a CSV file.