For this course I had to make a visualization with d3, using an external data source. For this project I used data from different cryptocurrencies. I have processed this data in a bar chart.
Clone the GitHub Repo locally
git clone https://github.com/TristanVarewijck/d3-graph.git
Install the Packages
npm i
Start the Server
npm start
For the data you need make a get request to the following URL :
API_URL='https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=ethpad%2C%20velas%2C%20adapad%2C%20gamezone%2C%20pulsepad%2C%20tronpad%2C%20nftlaunch%2C%20kccpad%2C%20bscpad&order=market_cap_desc%2C%20volume_desc&sparkline=false&price_change_percentage=1h'
Of course all files are important but you should at least have a look at these file if you are interested in this repo. Viewing these file will give you an idea of how this software is built.
main.js 📄
Tristan Varewijck - tristan.varewijck@gmail.com - https://github.com/TristanVarewijck/d3-graph
Usage is provided under the MIT License MIT. See LICENSE for the full details.